diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-04 17:18:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-04 17:18:41 +0400 |
commit | afdd54fa3720c267f30e48ed45c449d80449bac0 (patch) | |
tree | 3192044fa53f6e1fd3d1b0256963c2d4c090d700 /source/gameengine/SceneGraph/SG_BBox.cpp | |
parent | 203e6ed82b444786d7999e88cebef84d6d429765 (diff) |
moved source and text to american spelling
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
Diffstat (limited to 'source/gameengine/SceneGraph/SG_BBox.cpp')
-rw-r--r-- | source/gameengine/SceneGraph/SG_BBox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/SceneGraph/SG_BBox.cpp b/source/gameengine/SceneGraph/SG_BBox.cpp index bc7d00327a9..6f06e9b0424 100644 --- a/source/gameengine/SceneGraph/SG_BBox.cpp +++ b/source/gameengine/SceneGraph/SG_BBox.cpp @@ -119,9 +119,9 @@ void SG_BBox::translate(const MT_Vector3& dx) void SG_BBox::scale(const MT_Vector3& size, const MT_Point3& point) { - MT_Vector3 centre = (m_max - m_min)/2. + point; - m_max = (m_max - centre)*size; - m_min = (m_min - centre)*size; + MT_Vector3 center = (m_max - m_min)/2. + point; + m_max = (m_max - center)*size; + m_min = (m_min - center)*size; } #endif |