XII Release 0.1.0
Loading...
Searching...
No Matches
xiiOBJLoader::Face Struct Reference

Holds all data about one face (ie. polygon, not only triangles). More...

#include <OBJLoader.h>

Public Member Functions

XII_ALWAYS_INLINE bool operator< (const Face &rhs) const
 Less-than operator is needed for sorting faces by material.

Public Attributes

xiiUInt32 m_uiMaterialID
 The ID of the material, that this face uses.
xiiVec3 m_vNormal
 The face-normal, automatically computed.
xiiVec3 m_vTangent
xiiVec3 m_vBiTangent
xiiHybridArray< FaceVertex, 4 > m_Vertices
 All vertices of the face.

Detailed Description

Holds all data about one face (ie. polygon, not only triangles).


The documentation for this struct was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Utilities/FileFormats/OBJLoader.h
  • /home/runner/work/XII/XII/Source/Engine/Utilities/FileFormats/Implementation/OBJLoader.cpp