Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-04-04 17:18:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-04 17:18:41 +0400
commitafdd54fa3720c267f30e48ed45c449d80449bac0 (patch)
tree3192044fa53f6e1fd3d1b0256963c2d4c090d700 /source/blender/src/edit.c
parent203e6ed82b444786d7999e88cebef84d6d429765 (diff)
moved source and text to american spelling
* colour -> color * centre -> center * normalise -> normalize * modelling -> modeling
Diffstat (limited to 'source/blender/src/edit.c')
-rw-r--r--source/blender/src/edit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/edit.c b/source/blender/src/edit.c
index 0b5a32c4d5e..7bebc0cdc87 100644
--- a/source/blender/src/edit.c
+++ b/source/blender/src/edit.c
@@ -373,7 +373,7 @@ int get_border(rcti *rect, short flag)
rect->ymax= mval[1];
retval= event;
- /* normalise */
+ /* normalize */
if(rect->xmin>rect->xmax) SWAP(int, rect->xmin, rect->xmax);
if(rect->ymin>rect->ymax) SWAP(int, rect->ymin, rect->ymax);
@@ -883,7 +883,7 @@ static void make_trans_verts(float *min, float *max, int mode)
MetaElem *ml;
EditVert *eve;
EditBone *ebo;
- float total, centre[3], centroid[3];
+ float total, center[3], centroid[3];
int a;
tottrans= 0; // global!
@@ -1111,9 +1111,9 @@ static void make_trans_verts(float *min, float *max, int mode)
centroid[2]/= total;
}
- centre[0]= (min[0]+max[0])/2.0;
- centre[1]= (min[1]+max[1])/2.0;
- centre[2]= (min[2]+max[2])/2.0;
+ center[0]= (min[0]+max[0])/2.0;
+ center[1]= (min[1]+max[1])/2.0;
+ center[2]= (min[2]+max[2])/2.0;
}