Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
Welds together the vertices which are 'close enough' one to each other. More...
#include <ProceduralMeshModifiers.h>
Public Member Functions | |
WeldVerticesModifier () | |
WeldVerticesModifier & | setInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer) |
The triangle buffer to modify. More... | |
WeldVerticesModifier & | setTolerance (Ogre::Real tolerance) |
The tolerance in position to consider that 2 vertices are the same (default = 1e-3) More... | |
void | modify () |
Public Attributes | |
TriangleBuffer * | mInputTriangleBuffer |
Ogre::Real | mTolerance |
Welds together the vertices which are 'close enough' one to each other.
Procedural::WeldVerticesModifier::WeldVerticesModifier | ( | ) |
void Procedural::WeldVerticesModifier::modify | ( | ) |
WeldVerticesModifier& Procedural::WeldVerticesModifier::setInputTriangleBuffer | ( | TriangleBuffer * | inputTriangleBuffer | ) |
The triangle buffer to modify.
WeldVerticesModifier& Procedural::WeldVerticesModifier::setTolerance | ( | Ogre::Real | tolerance | ) |
The tolerance in position to consider that 2 vertices are the same (default = 1e-3)
TriangleBuffer* Procedural::WeldVerticesModifier::mInputTriangleBuffer |
Ogre::Real Procedural::WeldVerticesModifier::mTolerance |