Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Projects all TriangleBufferVertices on a sphere. More...
#include <ProceduralMeshModifiers.h>
Public Member Functions | |
SpherifyModifier () | |
SpherifyModifier & | setInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer) |
SpherifyModifier & | setRadius (Ogre::Real radius) |
SpherifyModifier & | setCenter (Ogre::Vector3 center) |
void | modify () |
Projects all TriangleBufferVertices on a sphere.
Procedural::SpherifyModifier::SpherifyModifier | ( | ) |
void Procedural::SpherifyModifier::modify | ( | ) |
Ogre::InvalidStateException | Input triangle buffer must be set |
SpherifyModifier& Procedural::SpherifyModifier::setCenter | ( | Ogre::Vector3 | center | ) |
SpherifyModifier& Procedural::SpherifyModifier::setInputTriangleBuffer | ( | TriangleBuffer * | inputTriangleBuffer | ) |
Ogre::InvalidParametersException | Input triangle buffer must not be null |
References Ogre::Exception::ERR_INVALIDPARAMS, and OGRE_EXCEPT.
SpherifyModifier& Procedural::SpherifyModifier::setRadius | ( | Ogre::Real | radius | ) |
References Ogre::Exception::ERR_INVALIDPARAMS, and OGRE_EXCEPT.