libcootapi
 
Loading...
Searching...
No Matches
coot::colour_t Class Reference

Public Member Functions

 colour_t (float r, float g, float b)
 
void set (float r, float g, float b)
 
float & operator[] (const unsigned int &idx)
 
const float & operator[] (const unsigned int &idx) const
 
void rotate (float f)
 
void average (const colour_t &other)
 
void brighter (float f)
 
glm::vec4 to_glm () const
 
colour_holder to_colour_holder () const
 

Public Attributes

std::vector< float > col
 

The documentation for this class was generated from the following file: