#include <color.hh>
Public Member Functions | |
Color () | |
Color (float cr, float cg, float cb) | |
Color (const Color &C) | |
float | Get_R () const |
float | Get_G () const |
float | Get_B () const |
void | Set_R (float val) |
void | Set_G (float val) |
void | Set_B (float val) |
void | Set_RGB (float vx, float vy, float vz) |
Private Attributes | |
float | r |
float | g |
float | b |
Friends | |
std::ostream & | operator<< (std::ostream &s, Color const &v) |
Color & | operator>> (std::istream &s, Color &i) |
Definition at line 44 of file color.hh.
void Color::Set_RGB | ( | float | vx, | |
float | vy, | |||
float | vz | |||
) | [inline] |
std::ostream& operator<< | ( | std::ostream & | s, | |
Color const & | v | |||
) | [friend] |