diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-11 12:15:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-11 12:15:13 +0400 |
commit | b4a0152e76683dfb170c3e2796e15e1b5b67e2ab (patch) | |
tree | 15466a4e658f8fd42d55b9748bbeb6f02c12ba30 /source/gameengine/SceneGraph | |
parent | 9ae0523921fa4baeb37bcdd36f208da952f4337f (diff) |
code cleanup: float formatting was confusing in some cases - eg: (0.,0.,0.)
Diffstat (limited to 'source/gameengine/SceneGraph')
-rw-r--r-- | source/gameengine/SceneGraph/SG_BBox.cpp | 4 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_BBox.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/SceneGraph/SG_BBox.cpp b/source/gameengine/SceneGraph/SG_BBox.cpp index b1e3a3216ed..4b2fc5410fa 100644 --- a/source/gameengine/SceneGraph/SG_BBox.cpp +++ b/source/gameengine/SceneGraph/SG_BBox.cpp @@ -37,8 +37,8 @@ #include "SG_Node.h" SG_BBox::SG_BBox() : - m_min(0., 0., 0.), - m_max(0., 0., 0.) + m_min(0.0, 0.0, 0.0), + m_max(0.0, 0.0, 0.0) { } diff --git a/source/gameengine/SceneGraph/SG_BBox.h b/source/gameengine/SceneGraph/SG_BBox.h index 5096d65558e..33e29b85a5f 100644 --- a/source/gameengine/SceneGraph/SG_BBox.h +++ b/source/gameengine/SceneGraph/SG_BBox.h @@ -81,7 +81,7 @@ public: /** * Scales the bounding box about the optional point. */ - void scale(const MT_Vector3 &size, const MT_Point3 &point = MT_Point3(0., 0., 0.)); + void scale(const MT_Vector3 &size, const MT_Point3 &point = MT_Point3(0.0, 0.0, 0.0)); #endif SG_BBox transform(const MT_Transform &world) const; /** |