diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-12-14 18:38:45 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-12-14 18:38:45 +0300 |
commit | 4a9377a861f659cf35a1bfa70e628a8277af3246 (patch) | |
tree | 800f0981d320ce3de97ccee8874cd8463ad88cad /intern/moto/include/MT_Vector4.inl | |
parent | cfceb16f4aa00afd9ef61baf656d62ea6b8abb00 (diff) |
Gilles's patch to get rid of the the same identifier warnings
Kent
--
mein@cs.umn.edu
Diffstat (limited to 'intern/moto/include/MT_Vector4.inl')
-rw-r--r-- | intern/moto/include/MT_Vector4.inl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/moto/include/MT_Vector4.inl b/intern/moto/include/MT_Vector4.inl index 762c1c49c50..9b4126093c1 100644 --- a/intern/moto/include/MT_Vector4.inl +++ b/intern/moto/include/MT_Vector4.inl @@ -54,12 +54,12 @@ GEN_INLINE MT_Vector4 MT_Vector4::absolute() const { return MT_Vector4(MT_abs(m_co[0]), MT_abs(m_co[1]), MT_abs(m_co[2]), MT_abs(m_co[3])); } -GEN_INLINE void MT_Vector4::scale(MT_Scalar x, MT_Scalar y, MT_Scalar z, MT_Scalar w) { - m_co[0] *= x; m_co[1] *= y; m_co[2] *= z; m_co[3] *= w; +GEN_INLINE void MT_Vector4::scale(MT_Scalar xx, MT_Scalar yy, MT_Scalar zz, MT_Scalar ww) { + m_co[0] *= xx; m_co[1] *= yy; m_co[2] *= zz; m_co[3] *= ww; } -GEN_INLINE MT_Vector4 MT_Vector4::scaled(MT_Scalar x, MT_Scalar y, MT_Scalar z, MT_Scalar w) const { - return MT_Vector4(m_co[0] * x, m_co[1] * y, m_co[2] * z, m_co[3] * w); +GEN_INLINE MT_Vector4 MT_Vector4::scaled(MT_Scalar xx, MT_Scalar yy, MT_Scalar zz, MT_Scalar ww) const { + return MT_Vector4(m_co[0] * xx, m_co[1] * yy, m_co[2] * zz, m_co[3] * ww); } GEN_INLINE bool MT_Vector4::fuzzyZero() const { return MT_fuzzyZero2(length2()); } |