8 #ifndef META_OCEAN_RENDERING_QUAD_FACE_H
9 #define META_OCEAN_RENDERING_QUAD_FACE_H
71 inline VertexIndex index(
const unsigned int index)
const;
79 inline VertexIndex& index(
const unsigned int index);
87 inline VertexIndex operator[](
const unsigned int index)
const;
95 inline VertexIndex& operator[](
const unsigned int index);
143 ocean_assert(
index < 4);
149 ocean_assert(
index < 4);
155 ocean_assert(
index < 4);
161 ocean_assert(
index < 4);
Definition of a quad face with four vertex indices.
Definition: QuadFace.h:35
const VertexIndex * operator()() const
Returns the pointer to the first element of the vertex indices.
Definition: QuadFace.h:165
QuadFace()
Creates a new quad face object with undefined indices.
Definition: QuadFace.h:115
VertexIndex index(const unsigned int index) const
Returns a specific vertex index specified by it's index inside the face.
Definition: QuadFace.h:141
VertexIndex faceIndices[4]
The four vertex indices.
Definition: QuadFace.h:112
VertexIndex operator[](const unsigned int index) const
Returns a specific vertex index specified by it's index inside the face.
Definition: QuadFace.h:153
std::vector< QuadFace > QuadFaces
Definition of a vector holding quad faces.
Definition: QuadFace.h:22
unsigned int VertexIndex
Definition of a vertex index.
Definition: rendering/Rendering.h:71
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15