From: Rudolf Polzer Date: Thu, 13 Jan 2011 19:10:12 +0000 (+0100) Subject: fix compile error X-Git-Tag: xonotic-v0.5.0~66 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4ab91bf77091ec5214d40b6b4af1a529bfd349ed;p=xonotic%2Fnetradiant.git fix compile error --- diff --git a/libs/mathlib/mathlib.c b/libs/mathlib/mathlib.c index 2b005dcd..aca5ab73 100644 --- a/libs/mathlib/mathlib.c +++ b/libs/mathlib/mathlib.c @@ -78,54 +78,6 @@ qboolean VectorIsOnAxialPlane(vec3_t v) return qfalse; } -/* -================ -VectorIsOnAxis -================ -*/ -qboolean VectorIsOnAxis(vec3_t v) -{ - int i, zeroComponentCount; - - zeroComponentCount = 0; - for (i = 0; i < 3; i++) - { - if (v[i] == 0.0) - { - zeroComponentCount++; - } - } - - if (zeroComponentCount > 1) - { - // The zero vector will be on axis. - return qtrue; - } - - return qfalse; -} - -/* -================ -VectorIsOnAxialPlane -================ -*/ -qboolean VectorIsOnAxialPlane(vec3_t v) -{ - int i; - - for (i = 0; i < 3; i++) - { - if (v[i] == 0.0) - { - // The zero vector will be on axial plane. - return qtrue; - } - } - - return qfalse; -} - /* ================ MakeNormalVectors