Commit 17aff5c8 authored by Nguyeng Hoang Giang's avatar Nguyeng Hoang Giang

add

parent 4096b7a7
Pipeline #1482 canceled with stages
...@@ -971,7 +971,7 @@ public class QuickHull3D { ...@@ -971,7 +971,7 @@ public class QuickHull3D {
Face face = (Face) it.next(); Face face = (Face) it.next();
avgPoint.add(face.getCentroid()); avgPoint.add(face.getCentroid());
} }
avgPoint.scale(1 / faces.size()); avgPoint.scale((double) 1 / faces.size());
//Initialise the volume //Initialise the volume
double volume = 0; double volume = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment