resonance 1.0.1
Loading...
Searching...
No Matches
Rnd::MeshFace Struct Reference

One triangle of a Rnd::Mesh, as three indices into its vertex vector. More...

#include <meshface.h>

Public Attributes

unsigned short mV1
unsigned short mV2
unsigned short mV3

Detailed Description

One triangle of a Rnd::Mesh, as three indices into its vertex vector.

The structure is not polymorphic and emits no RTTI descriptor. Its member names come from the labels its own text dump writes, "(v1:", " v2:", and " v3:", each printed with "%hu". A face is 6 bytes, which the vector stride in every loop over the face vector confirms.

Member Data Documentation

◆ mV1

unsigned short Rnd::MeshFace::mV1

◆ mV2

unsigned short Rnd::MeshFace::mV2

◆ mV3

unsigned short Rnd::MeshFace::mV3

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