mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-26 22:01:13 +00:00
Merge branch 'main' of https://github.com/nzp-team/dquakeplus
This commit is contained in:
commit
06b93a6e59
1 changed files with 2 additions and 5 deletions
|
@ -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), \
|
||||||
|
|
Loading…
Reference in a new issue