src/ldObjectMath.cpp

changeset 1218
e0b59d183f96
parent 1217
314e12e23c3a
child 1222
34def2630300
equal deleted inserted replaced
1217:314e12e23c3a 1218:e0b59d183f96
23 // ============================================================================= 23 // =============================================================================
24 // 24 //
25 static void RotateVertex(Vertex& v, const Vertex& rotpoint, const Matrix& transformer) 25 static void RotateVertex(Vertex& v, const Vertex& rotpoint, const Matrix& transformer)
26 { 26 {
27 v -= rotpoint; 27 v -= rotpoint;
28 v.transform(transformer, Origin); 28 v.transform(transformer, Vertex {});
29 v += rotpoint; 29 v += rotpoint;
30 } 30 }
31 31
32 // ============================================================================= 32 // =============================================================================
33 // 33 //

mercurial