EMI: Properly set modelview matrix for overworld
This commit is contained in:
parent
b96ea34a90
commit
0d28bfad19
1 changed files with 1 additions and 2 deletions
|
@ -422,8 +422,7 @@ void GfxOpenGL::startActorDraw(const Math::Vector3d &pos, float scale, const Mat
|
|||
glFrustum(-right, right, -top, top, 1, 3276.8f);
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
glScalef(-1.0, 1.0, -1.0);
|
||||
glRotatef(180, 0, 0, -1);
|
||||
glScalef(1.0, 1.0, -1.0);
|
||||
glTranslatef(pos.x(), pos.y(), pos.z());
|
||||
} else {
|
||||
Math::Vector3d relPos = (pos - _currentPos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue