Fixed: Pitch was rotating around the wrong axis.

This commit is contained in:
Major Cooke 2016-09-17 12:08:58 -05:00
parent bec17bd222
commit 80c1baa596

View file

@ -122,7 +122,7 @@ void GLSprite::CalculateVertices(FVector3 *v)
mat.Translate(x, z, y);
mat.Rotate(0, 1, 0, 270. - actor->Angles.Yaw.Degrees);
mat.Rotate(0, 0, 1, pitch.Degrees);
mat.Rotate(1, 0, 0, pitch.Degrees);
if (actor->renderflags & RF_ROLLCENTER)
{