mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 04:41:53 +00:00
Fixed: Pitch was rotating around the wrong axis.
This commit is contained in:
parent
bec17bd222
commit
80c1baa596
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue