mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-23 08:33:50 +00:00
Fixed spacing and optimized
Fixed tab vs 3 spaces and optimized the code a bit.
This commit is contained in:
parent
246df9c454
commit
57bad98569
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue