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

[GL] Make class Triangle final, protected -> private.

parent 45fafa72
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ class Point; ...@@ -28,7 +28,7 @@ class Point;
* A surface is composed by triangles. The class Surface stores the position * A surface is composed by triangles. The class Surface stores the position
* of pointers to the points of triangles in the m_sfc_pnt_ids vector. * of pointers to the points of triangles in the m_sfc_pnt_ids vector.
* */ * */
class Triangle class Triangle final
{ {
public: public:
/** /**
...@@ -74,7 +74,7 @@ public: ...@@ -74,7 +74,7 @@ public:
*/ */
bool containsPoint2D (Point const& pnt) const; bool containsPoint2D (Point const& pnt) const;
protected: private:
/** a vector of pointers to points */ /** a vector of pointers to points */
const std::vector<Point*> &_pnts; const std::vector<Point*> &_pnts;
/** position of pointers to the geometric points */ /** position of pointers to the geometric points */
......
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