Spinning Topp Logo BlackTopp Studios
inc
Public Member Functions | Public Attributes | List of all members
Mezzanine::Graphics::Procedural::Vertex Struct Reference

A simple definition for a Vertex to be used when procedurally generating meshes. More...

#include <trianglebuffer.h>

+ Collaboration diagram for Mezzanine::Graphics::Procedural::Vertex:

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.
 

Detailed Description

A simple definition for a Vertex to be used when procedurally generating meshes.

Definition at line 86 of file trianglebuffer.h.

Constructor & Destructor Documentation

Mezzanine::Graphics::Procedural::Vertex::Vertex ( const Vector3 Pos,
const Vector3 Norm,
const Vector2 TexCoord 
)
inline

Detailed constructor.

Parameters
PosThe position of the vertex in local space.
NormThe facing direction of the vertex in local space.
TexCoordThe UV coordinate for applying textures.

Definition at line 102 of file trianglebuffer.h.


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