diff --git a/CDT/include/Triangulation.hpp b/CDT/include/Triangulation.hpp index 4b0a8a1..0435939 100644 --- a/CDT/include/Triangulation.hpp +++ b/CDT/include/Triangulation.hpp @@ -1003,8 +1003,8 @@ void Triangulation::addSuperTriangle(const Box2d& box) r *= T(2); } - const T R = T(2) * r; // excircle radius - const T cos_30_deg = 0.8660254037844386; // note: (std::sqrt(3.0) / 2.0) + const T R = T(2) * r; // excircle radius + const T cos_30_deg(0.8660254037844386); // note: (std::sqrt(3.0) / 2.0) const T shiftX = R * cos_30_deg; const V2d posV1 = {center.x - shiftX, center.y - r}; const V2d posV2 = {center.x + shiftX, center.y - r};