This commit is contained in:
fruitstaa 2019-01-09 15:54:35 +01:00
commit c07f511898

View file

@ -91,7 +91,7 @@ class Triangles
OpenMesh::Vec3f p2 = triangle.points[1];
OpenMesh::Vec3f p3 = triangle.points[2];
volume += OpenMesh::dot(p1, OpenMesh::cross(p2, p3));
volume += OpenMesh::dot(p1, OpenMesh::cross(p2, p3)) / 6.0f;
}
return volume;