136 glm::vec3 scalingVector(const glm::mat4 matrix); |
136 glm::vec3 scalingVector(const glm::mat4 matrix); |
137 LineSegment2D top(const QRectF& rectangle); |
137 LineSegment2D top(const QRectF& rectangle); |
138 LineSegment2D bottom(const QRectF& rectangle); |
138 LineSegment2D bottom(const QRectF& rectangle); |
139 LineSegment2D left(const QRectF& rectangle); |
139 LineSegment2D left(const QRectF& rectangle); |
140 LineSegment2D right(const QRectF& rectangle); |
140 LineSegment2D right(const QRectF& rectangle); |
|
141 bool isConvex(const Quadrilateral& quad); |
141 bool isConvex(const std::vector<glm::vec3>& polygon); |
142 bool isConvex(const std::vector<glm::vec3>& polygon); |
142 Winding winding(const QPolygonF& polygon); |
143 Winding winding(const QPolygonF& polygon); |
143 struct ScalingExtract |
144 struct ScalingExtract |
144 { |
145 { |
145 glm::vec3 scaling; |
146 glm::vec3 scaling; |