src/geometry.h

changeset 223
ce81db996275
parent 206
654661eab7f3
child 321
180072db4a83
equal deleted inserted replaced
222:72b456f2f3c2 223:ce81db996275
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;

mercurial