Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
#include <ProceduralPathGeneratorsBase.h>
Public Member Functions | |
BaseSpline3 () | |
T & | setNumSeg (unsigned int numSeg) |
Sets the number of segments between 2 control points. More... | |
T & | close () |
Closes the spline. More... | |
Protected Attributes | |
unsigned int | mNumSeg |
The number of segments between 2 control points. More... | |
bool | mClosed |
Tells if the spline is closed or not. More... | |
Base class for Path generators
Procedural::BaseSpline3< T >::BaseSpline3 | ( | ) |
T& Procedural::BaseSpline3< T >::close | ( | ) |
Closes the spline.
T& Procedural::BaseSpline3< T >::setNumSeg | ( | unsigned int | numSeg | ) |
Sets the number of segments between 2 control points.
Ogre::InvalidParametersException | Minimum of numSeg is 1 |
|
protected |
Tells if the spline is closed or not.
Referenced by Procedural::BaseSpline3< CatmullRomSpline3 >::close().
|
protected |
The number of segments between 2 control points.
Referenced by Procedural::BaseSpline3< CatmullRomSpline3 >::setNumSeg().