diff options
author | Daniel Dunbar <daniel@zuster.org> | 2003-03-19 02:20:10 +0300 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2003-03-19 02:20:10 +0300 |
commit | f8f1591442ce852494e9ee56f09320b35b84b199 (patch) | |
tree | 1b291b239b10bda2a88a8381f8577ffeb735139c /intern/moto/include/MT_Matrix3x3.h | |
parent | ccf77495943ea35fcb394c1ceec1cbec06251aec (diff) |
Killed MT_Scalar to float conversion warnings (should be
explicit cast anyway).
Diffstat (limited to 'intern/moto/include/MT_Matrix3x3.h')
-rwxr-xr-x | intern/moto/include/MT_Matrix3x3.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/moto/include/MT_Matrix3x3.h b/intern/moto/include/MT_Matrix3x3.h index c9597630ed1..712d48b8a64 100755 --- a/intern/moto/include/MT_Matrix3x3.h +++ b/intern/moto/include/MT_Matrix3x3.h @@ -157,9 +157,9 @@ public: } void getValue(float *m) const { - *m++ = m_el[0][0]; *m++ = m_el[1][0]; *m++ = m_el[2][0]; *m++ = 0.0; - *m++ = m_el[0][1]; *m++ = m_el[1][1]; *m++ = m_el[2][1]; *m++ = 0.0; - *m++ = m_el[0][2]; *m++ = m_el[1][2]; *m++ = m_el[2][2]; *m = 0.0; + *m++ = (float) m_el[0][0]; *m++ = (float) m_el[1][0]; *m++ = (float) m_el[2][0]; *m++ = (float) 0.0; + *m++ = (float) m_el[0][1]; *m++ = (float) m_el[1][1]; *m++ = (float) m_el[2][1]; *m++ = (float) 0.0; + *m++ = (float) m_el[0][2]; *m++ = (float) m_el[1][2]; *m++ = (float) m_el[2][2]; *m = (float) 0.0; } void getValue(double *m) const { |