vec3_t vec3_origin = {0,0,0};
int nanmask = 255<<23;
+float ixtable[4096];
/*-----------------------------------------------------------------*/
return GreatestCommonDivisor (i1, i2 % i1);
}
}
+
+
+void Mathlib_Init(void)
+{
+ int a;
+
+ // LordHavoc: setup 1.0f / N table for quick recipricols of integers
+ ixtable[0] = 0;
+ for (a = 1;a < 4096;a++)
+ ixtable[a] = 1.0f / a;
+}
\ No newline at end of file