mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
Fixed: FLATSPRITES were drawn backwards.
This commit is contained in:
parent
5d99e7dafe
commit
0e9f808c8a
1 changed files with 4 additions and 4 deletions
|
@ -138,10 +138,10 @@ void GLSprite::CalculateVertices(FVector3 *v)
|
||||||
mat.Rotate(0, 1, 0, - actor->Angles.Roll.Degrees);
|
mat.Rotate(0, 1, 0, - actor->Angles.Roll.Degrees);
|
||||||
mat.Translate(-x, -z, -y);
|
mat.Translate(-x, -z, -y);
|
||||||
}
|
}
|
||||||
v[0] = mat * FVector3(x1, z, y2);
|
v[0] = mat * FVector3(x2, z, y2);
|
||||||
v[1] = mat * FVector3(x2, z, y2);
|
v[1] = mat * FVector3(x1, z, y2);
|
||||||
v[2] = mat * FVector3(x1, z, y1);
|
v[2] = mat * FVector3(x2, z, y1);
|
||||||
v[3] = mat * FVector3(x2, z, y1);
|
v[3] = mat * FVector3(x1, z, y1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue