Commit 649954d4 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'stableTriangleBSPTree' into 'master'

Stable Triangle BSP Tree

use the stable distPointTriangle version in the construction of the triangle BSP tree.

See merge request !4
parents 0113d287 114ea9a8
......@@ -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)
......
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