]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
fix compile error
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 13 Jan 2011 19:10:12 +0000 (20:10 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 13 Jan 2011 19:10:12 +0000 (20:10 +0100)
libs/mathlib/mathlib.c

index 2b005dcd8da4f8c5830d6bfa72e5cdb1c6e6776a..aca5ab7307e09ffe08370dc18a8e54f7ff115030 100644 (file)
@@ -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