mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 16:07:55 +00:00
- Changed the direction of positive rotation for voxels to match GZDoom's counterclockwise spin.
SVN r3579 (trunk)
This commit is contained in:
parent
9276e6138e
commit
bf48b7620c
1 changed files with 1 additions and 1 deletions
|
@ -746,7 +746,7 @@ void R_ProjectSprite (AActor *thing, int fakeside, F3DFloor *fakefloor, F3DFloor
|
||||||
if (voxelspin != 0)
|
if (voxelspin != 0)
|
||||||
{
|
{
|
||||||
double ang = double(I_FPSTime()) * voxelspin / 1000;
|
double ang = double(I_FPSTime()) * voxelspin / 1000;
|
||||||
vis->angle += angle_t(ang * (4294967296.f / 360));
|
vis->angle -= angle_t(ang * (4294967296.f / 360));
|
||||||
}
|
}
|
||||||
|
|
||||||
// These are irrelevant for voxels.
|
// These are irrelevant for voxels.
|
||||||
|
|
Loading…
Reference in a new issue