mirror of
https://github.com/overte-org/overte.git
synced 2025-08-12 18:55:08 +02:00
Update PolyLineEntityItem.cpp
This commit is contained in:
parent
36be35a836
commit
614312f04f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ bool PolyLineEntityItem::setNormals(const QVector<glm::vec3>& normals) {
|
|||
_vertices << v1 << v2;
|
||||
}
|
||||
//for last point we can just assume binormals are same since it represents last two vertices of quad
|
||||
point = _points.at(minVectorSize - 1);
|
||||
point = _points.at(minVectorSize - 1);
|
||||
v1 = point + binormal;
|
||||
v2 = point - binormal;
|
||||
_vertices << v1 << v2;
|
||||
|
|
Loading…
Reference in a new issue