OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::ProgressiveMeshGenerator::PMTriangle Struct Reference

#include <OgreProgressiveMeshGenerator.h>

+ Collaboration diagram for Ogre::ProgressiveMeshGenerator::PMTriangle:

Public Member Functions

void computeNormal ()
 Vertex ID in the buffer associated with the submeshID. More...
unsigned int getVertexID (const PMVertex *v) const
bool hasVertex (const PMVertex *v) const
bool isMalformed ()

Public Attributes

bool isRemoved
Vector3 normal
unsigned short submeshID
PMVertexvertex [3]
unsigned int vertexID [3]
 ID of the submesh. Usable with mMesh.getSubMesh() function. More...

Detailed Description

Definition at line 164 of file OgreProgressiveMeshGenerator.h.

Member Function Documentation

void Ogre::ProgressiveMeshGenerator::PMTriangle::computeNormal ( )

Vertex ID in the buffer associated with the submeshID.

Referenced by Ogre::ProgressiveMeshGenerator::addIndexDataImpl().

unsigned int Ogre::ProgressiveMeshGenerator::PMTriangle::getVertexID ( const PMVertex v) const
bool Ogre::ProgressiveMeshGenerator::PMTriangle::hasVertex ( const PMVertex v) const
bool Ogre::ProgressiveMeshGenerator::PMTriangle::isMalformed ( )

Member Data Documentation

bool Ogre::ProgressiveMeshGenerator::PMTriangle::isRemoved
Vector3 Ogre::ProgressiveMeshGenerator::PMTriangle::normal

Definition at line 166 of file OgreProgressiveMeshGenerator.h.

unsigned short Ogre::ProgressiveMeshGenerator::PMTriangle::submeshID
PMVertex* Ogre::ProgressiveMeshGenerator::PMTriangle::vertex[3]
unsigned int Ogre::ProgressiveMeshGenerator::PMTriangle::vertexID[3]

ID of the submesh. Usable with mMesh.getSubMesh() function.

Definition at line 169 of file OgreProgressiveMeshGenerator.h.

Referenced by Ogre::ProgressiveMeshGenerator::addIndexDataImpl().

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