Whitespace.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2003-03-21 00:51:57 +00:00
parent 00c61fe07c
commit bf18436ad5

View file

@ -445,8 +445,7 @@ VectorNormalize (vec3_t v)
float length; float length;
length = DotProduct (v, v); length = DotProduct (v, v);
if (length) if (length) {
{
float ilength; float ilength;
length = sqrt (length); length = sqrt (length);
@ -466,13 +465,13 @@ _VectorNormalize (vec3_t v)
double length; double length;
length = 0; length = 0;
for (i=0 ; i < 3; i++) for (i = 0; i < 3; i++)
length += v[i] * v[i]; length += v[i] * v[i];
length = sqrt (length); length = sqrt (length);
if (length == 0) if (length == 0)
return 0; return 0;
for (i=0 ; i <3; i++) for (i = 0; i < 3; i++)
v[i] /= length; v[i] /= length;
return length; return length;
@ -579,7 +578,6 @@ FloorDivMod (double numer, double denom, int *quotient, int *rem)
#endif #endif
if (numer >= 0.0) { if (numer >= 0.0) {
x = floor (numer / denom); x = floor (numer / denom);
q = (int) x; q = (int) x;
r = (int) floor (numer - (x * denom)); r = (int) floor (numer - (x * denom));