src/geometry.h

changeset 122
b54b350dff5d
parent 115
ed884a2fb009
child 123
e3fe3617b631
equal deleted inserted replaced
121:000781318c36 122:b54b350dff5d
91 glm::vec3 scalingVector(const glm::mat4 matrix); 91 glm::vec3 scalingVector(const glm::mat4 matrix);
92 LineSegment2D top(const QRectF& rectangle); 92 LineSegment2D top(const QRectF& rectangle);
93 LineSegment2D bottom(const QRectF& rectangle); 93 LineSegment2D bottom(const QRectF& rectangle);
94 LineSegment2D left(const QRectF& rectangle); 94 LineSegment2D left(const QRectF& rectangle);
95 LineSegment2D right(const QRectF& rectangle); 95 LineSegment2D right(const QRectF& rectangle);
96 bool convex(const std::vector<glm::vec3>& polygon);
96 struct ScalingExtract 97 struct ScalingExtract
97 { 98 {
98 glm::vec3 scaling; 99 glm::vec3 scaling;
99 glm::mat4 unscaled; 100 glm::mat4 unscaled;
100 }; 101 };

mercurial