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

#include <Line.hpp>

Public Member Functions

C3D_API Line (uint32_t a, uint32_t b)
 Constructor.
 
uint32_t operator[] (uint32_t index) const
 Retrieves the vertex index.
 

Constructor & Destructor Documentation

◆ Line()

C3D_API castor3d::Line::Line ( uint32_t a,
uint32_t b )

Constructor.

Parameters
[in]a,bThe two vertices indices

Member Function Documentation

◆ operator[]()

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

Retrieves the vertex index.

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

References CU_Require, and castor3d::LineIndices::m_index.


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