Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | Public Attributes | List of all members
Procedural::WeldVerticesModifier Class Reference

Welds together the vertices which are 'close enough' one to each other. More...

#include <ProceduralMeshModifiers.h>

Public Member Functions

 WeldVerticesModifier ()
 
WeldVerticesModifiersetInputTriangleBuffer (TriangleBuffer *inputTriangleBuffer)
 The triangle buffer to modify. More...
 
WeldVerticesModifiersetTolerance (Ogre::Real tolerance)
 The tolerance in position to consider that 2 vertices are the same (default = 1e-3) More...
 
void modify ()
 

Public Attributes

TriangleBuffermInputTriangleBuffer
 
Ogre::Real mTolerance
 

Detailed Description

Welds together the vertices which are 'close enough' one to each other.

Constructor & Destructor Documentation

◆ WeldVerticesModifier()

Procedural::WeldVerticesModifier::WeldVerticesModifier ( )

Member Function Documentation

◆ modify()

void Procedural::WeldVerticesModifier::modify ( )

◆ setInputTriangleBuffer()

WeldVerticesModifier& Procedural::WeldVerticesModifier::setInputTriangleBuffer ( TriangleBuffer inputTriangleBuffer)

The triangle buffer to modify.

◆ setTolerance()

WeldVerticesModifier& Procedural::WeldVerticesModifier::setTolerance ( Ogre::Real  tolerance)

The tolerance in position to consider that 2 vertices are the same (default = 1e-3)

Member Data Documentation

◆ mInputTriangleBuffer

TriangleBuffer* Procedural::WeldVerticesModifier::mInputTriangleBuffer

◆ mTolerance

Ogre::Real Procedural::WeldVerticesModifier::mTolerance

The documentation for this class was generated from the following file: