92 LineSegment2D top(const QRectF& rectangle); |
93 LineSegment2D top(const QRectF& rectangle); |
93 LineSegment2D bottom(const QRectF& rectangle); |
94 LineSegment2D bottom(const QRectF& rectangle); |
94 LineSegment2D left(const QRectF& rectangle); |
95 LineSegment2D left(const QRectF& rectangle); |
95 LineSegment2D right(const QRectF& rectangle); |
96 LineSegment2D right(const QRectF& rectangle); |
96 bool isConvex(const std::vector<glm::vec3>& polygon); |
97 bool isConvex(const std::vector<glm::vec3>& polygon); |
|
98 Winding winding(const QPolygonF& polygon); |
97 struct ScalingExtract |
99 struct ScalingExtract |
98 { |
100 { |
99 glm::vec3 scaling; |
101 glm::vec3 scaling; |
100 glm::mat4 unscaled; |
102 glm::mat4 unscaled; |
101 }; |
103 }; |