void glLoadMatrix(const Geometry::OrthogonalTransformation<ScalarParam,3>& t) { glLoadIdentity(); glTranslate(t.getTranslation()); glRotate(t.getRotation()); glScale(t.getScaling(),t.getScaling(),t.getScaling()); }
METHODPREFIX void glMultMatrix( const Geometry::OrthogonalTransformation<ScalarParam,3>& t) { glTranslate(t.getTranslation().getComponents()); glRotate(Math::deg(t.getRotation().getAngle()),t.getRotation().getAxis().getComponents()); glScale(t.getScaling()); }