- added a float version of BobVal.

We will need this later.
This commit is contained in:
Christoph Oelckers 2022-09-13 18:30:23 +02:00
parent c7eabe5b55
commit 19bca44f37

View file

@ -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"