Public Member Functions | Public Attributes | List of all members
Ogre::ProgressiveMeshGenerator::PMTriangle Struct Reference

#include <OgreProgressiveMeshGenerator.h>

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

§ computeNormal()

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

Vertex ID in the buffer associated with the submeshID.

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

§ getVertexID()

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

§ hasVertex()

bool Ogre::ProgressiveMeshGenerator::PMTriangle::hasVertex ( const PMVertex v) const

§ isMalformed()

bool Ogre::ProgressiveMeshGenerator::PMTriangle::isMalformed ( )

Member Data Documentation

§ isRemoved

bool Ogre::ProgressiveMeshGenerator::PMTriangle::isRemoved

§ normal

Vector3 Ogre::ProgressiveMeshGenerator::PMTriangle::normal

Definition at line 166 of file OgreProgressiveMeshGenerator.h.

§ submeshID

unsigned short Ogre::ProgressiveMeshGenerator::PMTriangle::submeshID

§ vertex

PMVertex* Ogre::ProgressiveMeshGenerator::PMTriangle::vertex[3]

§ vertexID

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:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sun Oct 9 2016 22:12:59