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(); |