Carna
Version 3.3.2
|
Defines vertex component for position vectors. Usage is explained here. More...
#include <Vertex.h>
Public Member Functions | |
VertexPosition () | |
template<typename VectorType > | |
void | setPosition (const VectorType &position) |
Public Attributes | |
float | x |
Holds the positional x-component of this vertex. | |
float | y |
Holds the positional y-component of this vertex. | |
float | z |
Holds the positional z-component of this vertex. | |
float | w |
Holds the positional w-component of this vertex. This will be 1 usually. | |
Defines vertex component for position vectors. Usage is explained here.
Carna::base::VertexPosition::VertexPosition | ( | ) |
Initializes to \( \left( 0, 0, 0, 1 \right) \).
void Carna::base::VertexPosition::setPosition | ( | const VectorType & | position | ) |
Documentation generated by Doxygen