Small change in PolyhedronMesh
This commit is contained in:
parent
e229cc9b4b
commit
d614187c95
|
@ -199,7 +199,7 @@ void PolyhedronMesh::computeCentroid() {
|
||||||
mCentroid += getVertex(v);
|
mCentroid += getVertex(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
mCentroid /= getNbVertices();
|
mCentroid /= static_cast<decimal>(getNbVertices());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compute and return the area of a face
|
// Compute and return the area of a face
|
||||||
|
|
Loading…
Reference in New Issue
Block a user