Carna
Version 3.3.2
|
Defines vertex that consists of the two attributes position and normal vector. More...
#include <Vertex.h>
Public Member Functions | |
VERTEX_NULL_COMPONENT (Color) | |
![]() | |
VertexPosition () | |
template<typename VectorType > | |
void | setPosition (const VectorType &position) |
![]() | |
VertexNormal () | |
template<typename VectorType > | |
void | setNormal (const VectorType &normal) |
Static Public Attributes | |
static const VertexAttributes | attributes |
Holds the declaration of the vertex format. | |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
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 that consists of the two attributes position and normal vector.
Carna::base::PNVertex::VERTEX_NULL_COMPONENT | ( | Color | ) |
Declares missing component.
Documentation generated by Doxygen