src/ldObjectMath.cpp

changeset 967
eb586d3e1a6a
parent 959
737245eee433
child 968
4b93b7963456
equal deleted inserted replaced
966:a834e43a57da 967:eb586d3e1a6a
64 Vertex v = obj->vertex (i); 64 Vertex v = obj->vertex (i);
65 RotateVertex (v, rotpoint, transform); 65 RotateVertex (v, rotpoint, transform);
66 obj->setVertex (i, v); 66 obj->setVertex (i, v);
67 } 67 }
68 } 68 }
69 elif (obj->hasMatrix()) 69 else if (obj->hasMatrix())
70 { 70 {
71 LDMatrixObject* mo = dynamic_cast<LDMatrixObject*> (obj); 71 LDMatrixObject* mo = dynamic_cast<LDMatrixObject*> (obj);
72 72
73 // Transform the position 73 // Transform the position
74 Vertex v = mo->position(); 74 Vertex v = mo->position();

mercurial