GRIM: Remove usage of _currentQuat since it's just an identity.

This commit is contained in:
Joseph Jezak 2014-07-04 12:53:34 -04:00
parent de7392c1b5
commit e8d5fc649c
2 changed files with 0 additions and 8 deletions

View file

@ -552,11 +552,7 @@ void GfxOpenGL::startActorDraw(const Actor *actor) {
const Math::Quaternion &quat = actor->getRotationQuat();
const float &scale = actor->getScale();
Math::Matrix4 worldRot = _currentQuat.toMatrix();
worldRot.inverseRotate(&pos);
glTranslatef(pos.x(), pos.y(), pos.z());
glMultMatrixf(worldRot.getData());
glScalef(scale, scale, scale);
glMultMatrixf(quat.toMatrix().getData());
}