mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
- Try to keep voxels from shifting up and down depending on how far you are above or below them.
SVN r3714 (trunk)
This commit is contained in:
parent
a3dc2149d4
commit
a2b51665ac
1 changed files with 1 additions and 1 deletions
|
@ -2317,7 +2317,7 @@ void R_DrawVoxel(fixed_t dasprx, fixed_t daspry, fixed_t dasprz, angle_t daspran
|
||||||
ggyinc[i] = y; y += gyinc;
|
ggyinc[i] = y; y += gyinc;
|
||||||
}
|
}
|
||||||
|
|
||||||
syoff = DivScale21(globalposz - dasprz, dazscale) + (mip->PivotZ << 7);
|
syoff = DivScale21(globalposz - dasprz, FixedMul(dazscale, 0xE900)) + (mip->PivotZ << 7);
|
||||||
yoff = (abs(gxinc) + abs(gyinc)) >> 1;
|
yoff = (abs(gxinc) + abs(gyinc)) >> 1;
|
||||||
|
|
||||||
for (cnt = 0; cnt < 8; cnt++)
|
for (cnt = 0; cnt < 8; cnt++)
|
||||||
|
|
Loading…
Reference in a new issue