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 /intern | |
parent | 203e6ed82b444786d7999e88cebef84d6d429765 (diff) |
moved source and text to american spelling
* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
Diffstat (limited to 'intern')
-rwxr-xr-x | intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp | 12 | ||||
-rw-r--r-- | intern/csg/intern/CSG_BBoxTree.cpp | 2 | ||||
-rw-r--r-- | intern/iksolver/test/ik_glut_test/intern/main.cpp | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp b/intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp index fe6a2943d1e..ec34b104e4a 100755 --- a/intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp +++ b/intern/bsp/test/BSP_GhostTest/BSP_GhostTest3D.cpp @@ -389,9 +389,9 @@ processEvent( } if (m_translation_settings[m_current_object].m_moving) { - // project current objects bounding box centre into screen space. + // project current objects bounding box center into screen space. // unproject mouse point into object space using z-value from - // projected bounding box centre. + // projected bounding box center. GHOST_Rect bounds; m_window->getClientBounds(bounds); @@ -612,9 +612,9 @@ InitOpenGl( glMatrixMode(GL_PROJECTION); - // centre of the box + 3* depth of box + // center of the box + 3* depth of box - MT_Vector3 centre = (min + max) * 0.5; + MT_Vector3 center = (min + max) * 0.5; MT_Vector3 diag = max - min; float depth = diag.length(); @@ -629,8 +629,8 @@ InitOpenGl( glMatrixMode(GL_MODELVIEW); gluLookAt( - centre.x(), centre.y(), centre.z() + distance*depth, //eye - centre.x(), centre.y(), centre.z(), //centre + center.x(), center.y(), center.z() + distance*depth, //eye + center.x(), center.y(), center.z(), //center 0.0, 1.0, 0. ); /* up is in positive Y direction */ diff --git a/intern/csg/intern/CSG_BBoxTree.cpp b/intern/csg/intern/CSG_BBoxTree.cpp index 37ff9651359..503c3e7f2d4 100644 --- a/intern/csg/intern/CSG_BBoxTree.cpp +++ b/intern/csg/intern/CSG_BBoxTree.cpp @@ -87,7 +87,7 @@ RecursiveTreeBuild( } } - // all of the nodes were on one side of the box centre + // all of the nodes were on one side of the box center // I'm not sure if this case ever gets reached? if (mid == 0 || mid == n) { diff --git a/intern/iksolver/test/ik_glut_test/intern/main.cpp b/intern/iksolver/test/ik_glut_test/intern/main.cpp index b8094e6cd4f..7f1cce80a7e 100644 --- a/intern/iksolver/test/ik_glut_test/intern/main.cpp +++ b/intern/iksolver/test/ik_glut_test/intern/main.cpp @@ -107,9 +107,9 @@ init(MT_Vector3 min,MT_Vector3 max) /* Setup the view of the cube. */ glMatrixMode(GL_PROJECTION); - // centre of the box + 3* depth of box + // center of the box + 3* depth of box - MT_Vector3 centre = (min + max) * 0.5; + MT_Vector3 center = (min + max) * 0.5; MT_Vector3 diag = max - min; float depth = diag.length(); @@ -125,8 +125,8 @@ init(MT_Vector3 min,MT_Vector3 max) gluLookAt( - centre.x(), centre.y(), centre.z() + distance*depth, /* eye is at (0,0,5) */ - centre.x(), centre.y(), centre.z(), /* center is at (0,0,0) */ + center.x(), center.y(), center.z() + distance*depth, /* eye is at (0,0,5) */ + center.x(), center.y(), center.z(), /* center is at (0,0,0) */ 0.0, 1.0, 0.); /* up is in positive Y direction */ glPushMatrix(); |