From bfe34f4dc7f86d2ce56ccd2b3243bf310f2e162d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 6 Sep 2016 21:39:13 +0200 Subject: [PATCH] - cleanup. --- src/gl/scene/gl_sprite.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index 2def85ef5..dba76d15d 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -226,8 +226,6 @@ void GLSprite::CalculateVertices(FVector3 *v) mat.Rotate(cos(angleRad), 0, sin(angleRad), rollDegrees); if (useOffsets) mat.Translate(-xx, -zz, -yy); } - - // apply the transform else if (drawWithXYBillboard) { // 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(); FVector3 v[4]; - CalculateVertices(v);