#include <triangleiterator.h>
Public Member Functions | |
int | getShapeIndex () const |
![]() | |
ShapeTriangle (int triangleIndex, int index0, int index1, int index2) | |
int | getTriangleIndex () const |
IndexArray | indices () const |
int | firstIndex () const |
int | secondIndex () const |
int | thirdIndex () const |
int | operator[] (std::size_t index) const |
IndexArray::const_iterator | begin () |
IndexArray::const_iterator | end () |
template<class T > | |
TriangleData< T > | getVertexData (const VertexAttribute< T > &attribute) const |
template<class T > | |
void | setVertexData (VertexAttribute< T > &attribute, const T &firstValue, const T &secondValue, const T &thirdValue) |
template<class T > | |
void | setVertexData (VertexAttribute< T > &attribute, const T &value) |
template<class T > | |
void | setVertexData (VertexAttribute< T > &attribute, const TriangleData< T > &value) |
Additional Inherited Members | |
![]() | |
using | IndexArray = std::array< int, 3 > |
Contains the indices of a triangle associated with a MeshInstance. The indices are always bound to a specific shape.
int getShapeIndex | ( | ) | const |