- adjustments.

This commit is contained in:
Christoph Oelckers 2016-03-30 20:01:44 +02:00
commit cf44d2e37a
18 changed files with 133 additions and 137 deletions

View file

@ -599,8 +599,8 @@ void FGLRenderer::FillSimplePoly(FTexture *texture, FVector2 *points, int npoint
int i;
bool dorotate = rotation != 0;
float cosrot = cos(ToRadians(rotation));
float sinrot = sin(ToRadians(rotation));
float cosrot = cos(rotation.Radians());
float sinrot = sin(rotation.Radians());
//float yoffs = GatheringWipeScreen ? 0 : LBOffset;
float uscale = float(1.f / (texture->GetScaledWidth() * scalex));