12 #ifndef VERTEX_H_6014714286
13 #define VERTEX_H_6014714286
15 #include <Carna/Carna.h>
225 #endif // VERTEX_H_6014714286
float nz
Holds the normal vector z-component of this vertex.
Defines vertex component for normal vectors. Usage is explained here.
Defines Carna::base::VertexAttributes.
float a
Holds the alpha color component of this vertex.
float nw
Holds the normal vector w-component of this vertex. This will be 0 usually.
float g
Holds the green color component of this vertex.
float nx
Holds the normal vector x-component of this vertex.
Defines vertex component for colors. Usage is explained here.
float z
Holds the positional z-component of this vertex.
static const VertexAttributes attributes
Holds the declaration of the vertex format.
Defines simple-most vertex that only consists of a positional attribute.
float ny
Holds the normal vector y-component of this vertex.
static const VertexAttributes attributes
Holds the declaration of the vertex format.
float b
Holds the blue color component of this vertex.
float r
Holds the red color component of this vertex.
std::vector< VertexAttribute > VertexAttributes
Defines VertexAttribute vector.
Defines vertex that consists of the two attributes position and color.