OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::LodData::Triangle Struct Reference

#include <OgreLodData.h>

Public Member Functions

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

Member Function Documentation

◆ computeNormal()

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

Vertex ID in the buffer associated with the submeshID.

◆ getVertexID()

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

◆ hasVertex()

bool Ogre::LodData::Triangle::hasVertex ( const Vertex v) const

◆ isMalformed()

bool Ogre::LodData::Triangle::isMalformed ( )

Member Data Documentation

◆ isRemoved

bool Ogre::LodData::Triangle::isRemoved

◆ normal

Vector3 Ogre::LodData::Triangle::normal

◆ submeshID

unsigned short Ogre::LodData::Triangle::submeshID

◆ vertex

Vertex* Ogre::LodData::Triangle::vertex[3]

◆ vertexID

unsigned int Ogre::LodData::Triangle::vertexID[3]

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


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