Skip to content
Snippets Groups Projects
Commit c7ebb6be authored by Tom Fischer's avatar Tom Fischer
Browse files

[GL/AABB] Make minimal / maximal points private.

parent 16558738
No related branches found
No related tags found
No related merge requests found
...@@ -193,14 +193,14 @@ public: ...@@ -193,14 +193,14 @@ public:
containsPoint(other_aabb.getMaxPoint(), 0); containsPoint(other_aabb.getMaxPoint(), 0);
} }
protected: private:
MathLib::Point3d _min_pnt = MathLib::Point3d{std::array<double, 3>{ 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(), std::numeric_limits<double>::max(),
std::numeric_limits<double>::max()}}}; std::numeric_limits<double>::max()}}};
MathLib::Point3d _max_pnt = MathLib::Point3d{ MathLib::Point3d _max_pnt = MathLib::Point3d{
std::array<double, 3>{{std::numeric_limits<double>::lowest(), std::array<double, 3>{std::numeric_limits<double>::lowest(),
std::numeric_limits<double>::lowest(), std::numeric_limits<double>::lowest(),
std::numeric_limits<double>::lowest()}}}; std::numeric_limits<double>::lowest()}};
private: private:
/// Enlarge the bounding box the smallest possible amount (modifying the /// Enlarge the bounding box the smallest possible amount (modifying the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment