mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 04:20:45 +00:00
- binaryangle.h: Return BAngToBAM()
as int64_t
to handle signed values without overflowing on unsigned values.
This commit is contained in:
parent
ea2e4051f1
commit
3f14886830
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ inline double bcosf(const double ang, const int8_t shift = 0)
|
|||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
inline constexpr uint32_t BAngToBAM(int ang)
|
||||
inline constexpr int64_t BAngToBAM(int ang)
|
||||
{
|
||||
return ang << BAMBITS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue