]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/mathlib/mathlib.c
fix compile error
[xonotic/netradiant.git] / 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