Ogre::ProgressiveMeshGenerator::PMTriangle Struct Reference

#include <OgreProgressiveMeshGenerator.h>

Public Member Functions

void computeNormal ()
 Vertex ID in the buffer associated with the submeshID.
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.

Detailed Description

Definition at line 163 of file OgreProgressiveMeshGenerator.h.

Member Function Documentation

◆ computeNormal()

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

Vertex ID in the buffer associated with the submeshID.

◆ 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

Definition at line 166 of file OgreProgressiveMeshGenerator.h.

◆ normal

Vector3 Ogre::ProgressiveMeshGenerator::PMTriangle::normal

Definition at line 165 of file OgreProgressiveMeshGenerator.h.

◆ submeshID

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

Definition at line 167 of file OgreProgressiveMeshGenerator.h.

◆ vertex

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

Definition at line 164 of file OgreProgressiveMeshGenerator.h.

◆ vertexID

unsigned int Ogre::ProgressiveMeshGenerator::PMTriangle::vertexID[3]

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

Definition at line 168 of file OgreProgressiveMeshGenerator.h.


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.