18 #ifndef __H__OCULAR_MATH_POLYGON_2D__H__
19 #define __H__OCULAR_MATH_POLYGON_2D__H__
21 #include "Math/Vector2.hpp"
50 Polygon2D(std::vector<Point2f>
const& points);
71 std::vector<Point2f> m_Points;
74 bool m_CenterCalculated;
77 bool m_SignedAreaCalculated;
float getSignedArea()
Definition: Polygon2D.cpp:109
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Vector2.hpp:44
Definition: Polygon2D.hpp:46
Point2f getCenter()
Definition: Polygon2D.cpp:66