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