mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-23 17:50:57 +00:00
- added a float version of BobVal.
We will need this later.
This commit is contained in:
parent
c7eabe5b55
commit
19bca44f37
1 changed files with 5 additions and 0 deletions
|
@ -599,4 +599,9 @@ inline double BobVal(int val)
|
|||
return g_sinbam((unsigned)val << 21);
|
||||
}
|
||||
|
||||
inline double BobVal(double val)
|
||||
{
|
||||
return g_sinbam((unsigned)(val * (1 << 21)));
|
||||
}
|
||||
|
||||
#include "updatesector.h"
|
||||
|
|
Loading…
Reference in a new issue