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_Vector3.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_Vector3.inl')
-rw-r--r-- | intern/moto/include/MT_Vector3.inl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/moto/include/MT_Vector3.inl b/intern/moto/include/MT_Vector3.inl index 7d65970fe96..b17ef47c709 100644 --- a/intern/moto/include/MT_Vector3.inl +++ b/intern/moto/include/MT_Vector3.inl @@ -77,12 +77,12 @@ GEN_INLINE MT_Vector3 MT_Vector3::safe_normalized() const { *this / len; } -GEN_INLINE void MT_Vector3::scale(MT_Scalar x, MT_Scalar y, MT_Scalar z) { - m_co[0] *= x; m_co[1] *= y; m_co[2] *= z; +GEN_INLINE void MT_Vector3::scale(MT_Scalar xx, MT_Scalar yy, MT_Scalar zz) { + m_co[0] *= xx; m_co[1] *= yy; m_co[2] *= zz; } -GEN_INLINE MT_Vector3 MT_Vector3::scaled(MT_Scalar x, MT_Scalar y, MT_Scalar z) const { - return MT_Vector3(m_co[0] * x, m_co[1] * y, m_co[2] * z); +GEN_INLINE MT_Vector3 MT_Vector3::scaled(MT_Scalar xx, MT_Scalar yy, MT_Scalar zz) const { + return MT_Vector3(m_co[0] * xx, m_co[1] * yy, m_co[2] * zz); } GEN_INLINE MT_Scalar MT_Vector3::angle(const MT_Vector3& v) const { |