From 4ab91bf77091ec5214d40b6b4af1a529bfd349ed Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 13 Jan 2011 20:10:12 +0100 Subject: [PATCH] fix compile error --- libs/mathlib/mathlib.c | 48 ------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/libs/mathlib/mathlib.c b/libs/mathlib/mathlib.c index 2b005dc..aca5ab7 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 -- 2.39.2