Fixed spacing and optimized

Fixed tab vs 3 spaces and optimized the code a bit.
This commit is contained in:
Nathan Bowhay 2015-02-12 08:31:54 -08:00
parent 246df9c454
commit 57bad98569

View file

@ -859,8 +859,8 @@ inline F64 Point3D::lenSquared() const
inline F64 Point3D::len() const
{
F64 temp = x*x + y*y + z*z;
return (temp > 0.0) ? mSqrtD(x*x + y*y + z*z) : 0.0;
F64 temp = x*x + y*y + z*z;
return (temp > 0.0) ? mSqrtD(temp) : 0.0;
}
inline void Point3D::normalize()