fix compile error

This commit is contained in:
Rudolf Polzer 2011-01-13 20:10:12 +01:00
parent 34a1e2074b
commit 4ab91bf770

View File

@ -78,54 +78,6 @@ qboolean VectorIsOnAxialPlane(vec3_t v)
return qfalse; 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 MakeNormalVectors