mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- cleanup.
This commit is contained in:
parent
a36d89405a
commit
bfe34f4dc7
1 changed files with 0 additions and 3 deletions
|
@ -226,8 +226,6 @@ void GLSprite::CalculateVertices(FVector3 *v)
|
||||||
mat.Rotate(cos(angleRad), 0, sin(angleRad), rollDegrees);
|
mat.Rotate(cos(angleRad), 0, sin(angleRad), rollDegrees);
|
||||||
if (useOffsets) mat.Translate(-xx, -zz, -yy);
|
if (useOffsets) mat.Translate(-xx, -zz, -yy);
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply the transform
|
|
||||||
else if (drawWithXYBillboard)
|
else if (drawWithXYBillboard)
|
||||||
{
|
{
|
||||||
// Rotate the sprite about the vector starting at the center of the sprite
|
// Rotate the sprite about the vector starting at the center of the sprite
|
||||||
|
@ -407,7 +405,6 @@ void GLSprite::Draw(int pass)
|
||||||
gl_RenderState.Apply();
|
gl_RenderState.Apply();
|
||||||
|
|
||||||
FVector3 v[4];
|
FVector3 v[4];
|
||||||
|
|
||||||
CalculateVertices(v);
|
CalculateVertices(v);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue