Logo Search packages:      
Sourcecode: blender version File versions  Download package

FTBBox& FTBBox::Move ( FTPoint  distance  )  [inline]

Move the Bounding Box by a vector.

Parameters:
distance The distance to move the bbox in 3D space.

Definition at line 81 of file FTBBox.h.

References FTPoint::x, FTPoint::y, and FTPoint::z.

Referenced by FTFont::BBox().

        {
            lowerX += distance.x;
            lowerY += distance.y;
            lowerZ += distance.z;
            upperX += distance.x;
            upperY += distance.y;
            upperZ += distance.z;
            return *this;
        }


Generated by  Doxygen 1.6.0   Back to index