diff options
Diffstat (limited to 'dep/src/g3dlite/Vector4.cpp')
-rw-r--r-- | dep/src/g3dlite/Vector4.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dep/src/g3dlite/Vector4.cpp b/dep/src/g3dlite/Vector4.cpp index bfea20202c4..2a597df65ed 100644 --- a/dep/src/g3dlite/Vector4.cpp +++ b/dep/src/g3dlite/Vector4.cpp @@ -1,8 +1,8 @@ /** @file Vector4.cpp - + @maintainer Morgan McGuire, matrix@graphics3d.com - + @created 2001-07-09 @edited 2003-09-29 */ @@ -57,7 +57,7 @@ Vector4 Vector4::operator/ (float fScalar) const { Vector4 kQuot; if ( fScalar != 0.0 ) { - float fInvScalar = 1.0f / fScalar; + float fInvScalar = 1.0f / fScalar; kQuot.x = fInvScalar * x; kQuot.y = fInvScalar * y; kQuot.z = fInvScalar * z; @@ -71,13 +71,13 @@ Vector4 Vector4::operator/ (float fScalar) const { //---------------------------------------------------------------------------- Vector4& Vector4::operator/= (float fScalar) { if (fScalar != 0.0f) { - float fInvScalar = 1.0f / fScalar; + float fInvScalar = 1.0f / fScalar; x *= fInvScalar; y *= fInvScalar; z *= fInvScalar; w *= fInvScalar; } else { - *this = Vector4::inf(); + *this = Vector4::inf(); } return *this; |