A simple definition for a Vertex to be used when procedurally generating meshes. More...
#include <trianglebuffer.h>
Public Member Functions | |
Vertex () | |
Blank constructor. | |
Vertex (const Vector3 &Pos, const Vector3 &Norm, const Vector2 &TexCoord) | |
Detailed constructor. More... | |
~Vertex () | |
Class destructor. | |
Public Attributes | |
Vector3 | Normal |
The facing direction of the vertex in local space. | |
Vector3 | Position |
The position of the vertex in local space. | |
Vector2 | UV |
The UV coordinate for applying textures. | |
A simple definition for a Vertex to be used when procedurally generating meshes.
Definition at line 86 of file trianglebuffer.h.
|
inline |
Detailed constructor.
Pos | The position of the vertex in local space. |
Norm | The facing direction of the vertex in local space. |
TexCoord | The UV coordinate for applying textures. |
Definition at line 102 of file trianglebuffer.h.