Typo
This commit is contained in:
parent
fd494ffddc
commit
ae80f35a2f
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Triangles
|
||||||
OpenMesh::Vec3f p2 = triangle.points[1];
|
OpenMesh::Vec3f p2 = triangle.points[1];
|
||||||
OpenMesh::Vec3f p3 = triangle.points[2];
|
OpenMesh::Vec3f p3 = triangle.points[2];
|
||||||
|
|
||||||
volume = OpenMesh::dot(p1, OpenMesh::cross(p2, p3));
|
volume += OpenMesh::dot(p1, OpenMesh::cross(p2, p3));
|
||||||
}
|
}
|
||||||
|
|
||||||
return volume;
|
return volume;
|
||||||
|
|
Loading…
Reference in a new issue