Carna
Version 3.3.2
|
Defines vertex component for colors. Usage is explained here. More...
#include <Vertex.h>
Public Member Functions | |
VertexColor () | |
template<typename VectorType > | |
void | setColor (const VectorType &color) |
Public Attributes | |
float | r |
Holds the red color component of this vertex. | |
float | g |
Holds the green color component of this vertex. | |
float | b |
Holds the blue color component of this vertex. | |
float | a |
Holds the alpha color component of this vertex. | |
Defines vertex component for colors. Usage is explained here.
Carna::base::VertexColor::VertexColor | ( | ) |
Initializes to \( \left( 1, 1, 1, 1 \right) \).
void Carna::base::VertexColor::setColor | ( | const VectorType & | color | ) |
Documentation generated by Doxygen