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

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