mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- removed constexpr from FloatToAngle.
I overlooked the xs_CRoundToInt call in there.
This commit is contained in:
parent
c957397573
commit
6726c19f9c
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ inline constexpr int32_t FixedToInt(fixed_t f)
|
|||
return (f + FRACUNIT/2) >> FRACBITS;
|
||||
}
|
||||
|
||||
inline constexpr unsigned FloatToAngle(double f)
|
||||
inline unsigned FloatToAngle(double f)
|
||||
{
|
||||
return xs_CRoundToInt((f)* (0x40000000 / 90.));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue