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

#include <OgreLodData.h>

+ Collaboration diagram for Ogre::LodData::Triangle:

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 107 of file OgreLodData.h.

Member Function Documentation

void Ogre::LodData::Triangle::computeNormal ( )

Vertex ID in the buffer associated with the submeshID.

Referenced by Ogre::LodInputProviderMesh::addIndexDataImpl(), and Ogre::LodInputProviderBuffer::addIndexDataImpl().

unsigned int Ogre::LodData::Triangle::getVertexID ( const Vertex v) const
bool Ogre::LodData::Triangle::hasVertex ( const Vertex v) const
bool Ogre::LodData::Triangle::isMalformed ( )

Member Data Documentation

bool Ogre::LodData::Triangle::isRemoved
Vector3 Ogre::LodData::Triangle::normal

Definition at line 109 of file OgreLodData.h.

unsigned short Ogre::LodData::Triangle::submeshID
Vertex* Ogre::LodData::Triangle::vertex[3]
unsigned int Ogre::LodData::Triangle::vertexID[3]

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

Definition at line 112 of file OgreLodData.h.

Referenced by Ogre::LodInputProviderMesh::addIndexDataImpl(), and Ogre::LodInputProviderBuffer::addIndexDataImpl().


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