fix linker error

v1
Brett 2023-03-01 00:05:26 -05:00
parent b77638436e
commit 61ae482e5d
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ namespace blt {
/**
* fast number integer
*/
unsigned int f_randi(unsigned int seed) {
static inline unsigned int f_randi(unsigned int seed) {
seed = (seed << 13) ^ seed;
return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff);
}
@ -23,7 +23,7 @@ namespace blt {
/**
* fast inverse sqrt
*/
float fsqrt(float n){
static inline float fsqrt(float n){
int i;
float x, y;
x = n * 0.5f;