This commit is contained in:
Steam Deck User 2023-03-15 20:16:30 -04:00
commit 06b93a6e59

View file

@ -121,11 +121,8 @@ int GreatestCommonDivisor (int i1, int i2);
void AngleVectors (vec3_t angles, vec3_t forward, vec3_t right, vec3_t up); void AngleVectors (vec3_t angles, vec3_t forward, vec3_t right, vec3_t up);
int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane); int BoxOnPlaneSide (vec3_t emins, vec3_t emaxs, struct mplane_s *plane);
static inline float anglemod(float a)
{ #define anglemod(a) ((360.0/65536) * ((int)((a)*(65536/360.0)) & 65535))
a = (360.0/65536) * ((int)(a*(65536/360.0)) & 65535);
return a;
}
#define VectorL2Compare(v, w, m) \ #define VectorL2Compare(v, w, m) \
(_mathlib_temp_float1 = (m) * (m), \ (_mathlib_temp_float1 = (m) * (m), \