Castor3D 0.12.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor3d::Face Class Reference

#include <Face.hpp>

Public Member Functions

C3D_API Face (uint32_t a, uint32_t b, uint32_t c)
 Specified constructor. More...
 
uint32_t operator[] (uint32_t index) const
 Retrieves the vertex index. More...
 

Constructor & Destructor Documentation

◆ Face()

C3D_API castor3d::Face::Face ( uint32_t  a,
uint32_t  b,
uint32_t  c 
)

Specified constructor.

Parameters
[in]a,b,cThe three vertices indices

Member Function Documentation

◆ operator[]()

uint32_t castor3d::Face::operator[] ( uint32_t  index) const
inline

Retrieves the vertex index.

Parameters
[in]indexThe index of the concerned vertex
Returns
The vertex index

References castor3d::FaceIndices::m_index.


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