mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +00:00
Fix warning
This commit is contained in:
parent
4add3d3276
commit
e27702481d
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ namespace swrenderer
|
||||||
|
|
||||||
DVector2 dirX(spriteSin * sprite_xscale, -spriteCos * sprite_xscale);
|
DVector2 dirX(spriteSin * sprite_xscale, -spriteCos * sprite_xscale);
|
||||||
DVector2 dirY(spriteCos * sprite_xscale, spriteSin * sprite_xscale);
|
DVector2 dirY(spriteCos * sprite_xscale, spriteSin * sprite_xscale);
|
||||||
float dirZ = -sprite_yscale;
|
double dirZ = -sprite_yscale;
|
||||||
|
|
||||||
DVector3 voxel_origin = sprite_origin;
|
DVector3 voxel_origin = sprite_origin;
|
||||||
voxel_origin.X -= dirX.X * mip.Pivot.X + dirX.Y * mip.Pivot.Y;
|
voxel_origin.X -= dirX.X * mip.Pivot.X + dirX.Y * mip.Pivot.Y;
|
||||||
|
|
Loading…
Reference in a new issue