moved source and text to american spelling

* colour -> color
* centre -> center
* normalise -> normalize
* modelling -> modeling
This commit is contained in:
2007-04-04 13:18:41 +00:00
parent 203e6ed82b
commit afdd54fa37
123 changed files with 715 additions and 715 deletions

View File

@@ -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;
}