mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- Adjust voxel scale further, under Enjay's tutelage.
SVN r3713 (trunk)
This commit is contained in:
parent
687b371dbd
commit
a3dc2149d4
1 changed files with 2 additions and 2 deletions
|
@ -2251,8 +2251,8 @@ void R_DrawVoxel(fixed_t dasprx, fixed_t daspry, fixed_t dasprz, angle_t daspran
|
|||
|
||||
// Shift the scales from 16 bits of fractional precision to 6.
|
||||
// Also do some magic voodoo scaling to make them the right size.
|
||||
daxscale = daxscale / (0xD000 >> 6);
|
||||
dayscale = dayscale / (0xD000 >> 6);
|
||||
daxscale = daxscale / (0xC400 >> 6);
|
||||
dayscale = dayscale / (0xC400 >> 6);
|
||||
|
||||
cosang = viewcos >> 2;
|
||||
sinang = -viewsin >> 2;
|
||||
|
|
Loading…
Reference in a new issue