mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- Build: Fix precision loss when calculating an angle in renderPrepareMirror()
.
This commit is contained in:
parent
f168373ecf
commit
fdbc4d0e67
1 changed files with 1 additions and 1 deletions
|
@ -3605,7 +3605,7 @@ void renderPrepareMirror(int32_t dax, int32_t day, int32_t daz, fixed_t daang, f
|
|||
|
||||
*tposx = (x<<1) + scale(dx,i,j) - dax;
|
||||
*tposy = (y<<1) + scale(dy,i,j) - day;
|
||||
*tang = (IntToFixed(getangle(dx, dy) << 1) - daang) & 0x7FFFFFF;
|
||||
*tang = ((gethiq16angle(dx, dy) << 1) - daang) & 0x7FFFFFF;
|
||||
|
||||
inpreparemirror = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue