diff options
author | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-12-16 03:31:38 +0300 |
---|---|---|
committer | Jorge Bernal <jbernalmartinez@gmail.com> | 2015-12-16 03:53:48 +0300 |
commit | 0c19a043e8198018ae794145fc4f1e78d5f00923 (patch) | |
tree | 3758688cd3639adcd50b0ce298bdf758b890e4f9 /source/gameengine/Ketsji/KX_IPOTransform.h | |
parent | 5b331150709616fc5aee9c1af228d48175032ea0 (diff) |
BGE Ketsji clean-up: double-promotion warnings
Diffstat (limited to 'source/gameengine/Ketsji/KX_IPOTransform.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_IPOTransform.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/gameengine/Ketsji/KX_IPOTransform.h b/source/gameengine/Ketsji/KX_IPOTransform.h index a68292bf9df..a81c432b01e 100644 --- a/source/gameengine/Ketsji/KX_IPOTransform.h +++ b/source/gameengine/Ketsji/KX_IPOTransform.h @@ -38,12 +38,12 @@ class KX_IPOTransform { public: KX_IPOTransform() : - m_position(0.0, 0.0, 0.0), - m_eulerAngles(0.0, 0.0, 0.0), - m_scaling(1.0, 1.0, 1.0), - m_deltaPosition(0.0, 0.0, 0.0), - m_deltaEulerAngles(0.0, 0.0, 0.0), - m_deltaScaling(0.0, 0.0, 0.0) + m_position(0.0f, 0.0f, 0.0f), + m_eulerAngles(0.0f, 0.0f, 0.0f), + m_scaling(1.0f, 1.0f, 1.0f), + m_deltaPosition(0.0f, 0.0f, 0.0f), + m_deltaEulerAngles(0.0f, 0.0f, 0.0f), + m_deltaScaling(0.0f, 0.0f, 0.0f) {} MT_Transform GetTransform() const { @@ -69,9 +69,9 @@ public: void SetScaling(const MT_Vector3& scaling) { m_scaling = scaling; } void ClearDeltaStuff() { - m_deltaPosition.setValue(0.0, 0.0, 0.0); - m_deltaEulerAngles.setValue(0.0, 0.0, 0.0); - m_deltaScaling.setValue(0.0, 0.0, 0.0); + m_deltaPosition.setValue(0.0f, 0.0f, 0.0f); + m_deltaEulerAngles.setValue(0.0f, 0.0f, 0.0f); + m_deltaScaling.setValue(0.0f, 0.0f, 0.0f); } protected: |