diff --git a/GeoLib/AABB.h b/GeoLib/AABB.h index efef8bb1b69d1b5cbd6b155948bce728adf3361a..5e856cfc0b5d47544eef611f700ebc229433d7a8 100644 --- a/GeoLib/AABB.h +++ b/GeoLib/AABB.h @@ -193,14 +193,14 @@ public: containsPoint(other_aabb.getMaxPoint(), 0); } -protected: +private: MathLib::Point3d _min_pnt = MathLib::Point3d{std::array<double, 3>{ {std::numeric_limits<double>::max(), std::numeric_limits<double>::max(), std::numeric_limits<double>::max()}}}; MathLib::Point3d _max_pnt = MathLib::Point3d{ - std::array<double, 3>{{std::numeric_limits<double>::lowest(), - std::numeric_limits<double>::lowest(), - std::numeric_limits<double>::lowest()}}}; + std::array<double, 3>{std::numeric_limits<double>::lowest(), + std::numeric_limits<double>::lowest(), + std::numeric_limits<double>::lowest()}}; private: /// Enlarge the bounding box the smallest possible amount (modifying the