This commit is contained in:
hodasemi 2019-01-07 21:42:20 +01:00
parent fd494ffddc
commit ae80f35a2f

View file

@ -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;