OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::LodData::Triangle Struct Reference

#include <OgreLodData.h>

Public Member Functions

void computeNormal (const VertexList &vertexList)
 
unsigned int getVertexID (const VertexI vi) const
 
bool hasVertex (const VertexI vi) const
 
bool isMalformed ()
 
bool isRemoved () const
 
void setRemoved ()
 
unsigned int submeshID () const
 Vertex ID in the buffer associated with the submeshID. More...
 

Public Attributes

Vector3 normal
 
unsigned int submeshIDOrRemovedTag
 
VertexI vertexi [3]
 
unsigned int vertexID [3]
 ID of the submesh. Usable with mMesh.getSubMesh() function. Holds ~0U for removed triangles. More...
 

Member Function Documentation

◆ computeNormal()

void Ogre::LodData::Triangle::computeNormal ( const VertexList vertexList)

◆ getVertexID()

unsigned int Ogre::LodData::Triangle::getVertexID ( const VertexI  vi) const

◆ hasVertex()

bool Ogre::LodData::Triangle::hasVertex ( const VertexI  vi) const
inline

◆ isMalformed()

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

◆ isRemoved()

bool Ogre::LodData::Triangle::isRemoved ( ) const
inline

◆ setRemoved()

void Ogre::LodData::Triangle::setRemoved ( )
inline

◆ submeshID()

unsigned int Ogre::LodData::Triangle::submeshID ( ) const
inline

Vertex ID in the buffer associated with the submeshID.

References OgreAssert.

Member Data Documentation

◆ normal

Vector3 Ogre::LodData::Triangle::normal

◆ submeshIDOrRemovedTag

unsigned int Ogre::LodData::Triangle::submeshIDOrRemovedTag

◆ vertexi

VertexI Ogre::LodData::Triangle::vertexi[3]

◆ vertexID

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

ID of the submesh. Usable with mMesh.getSubMesh() function. Holds ~0U for removed triangles.


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