Commit c8f43990 authored by Isaak Lim's avatar Isaak Lim
Browse files

use stable distPointTriangleSquared version in Triangle BSP Tree

parent e8c832dd
......@@ -110,7 +110,7 @@ public:
Point p0, p1, p2, q;
points(_h, p0, p1, p2);
return ACG::Geometry::distPointTriangleSquared(_p, p0, p1, p2, q);
return ACG::Geometry::distPointTriangleSquaredStable(_p, p0, p1, p2, q);
void calculateBoundingBox(Node* _node, Point& median, int& axis)
Supports Markdown
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