#include <sgColor.h>
Public Member Functions | |
sgFColor (float r_=0.0f, float g_=0.0f, float b_=0.0f) | |
bool | operator== (const sgFColor &other) |
Public Attributes | |
float | r |
float | g |
float | b |
Floating point color class. Stores a color without alpha channel with values between 0 and 1 and provides functionality for it.
sgFColor::sgFColor | ( | float | r_ = 0.0f , |
|
float | g_ = 0.0f , |
|||
float | b_ = 0.0f | |||
) |
Constructor. Initializes a new instance.
r_ | the r value | |
g_ | the g value | |
b_ | the b value |
bool sgFColor::operator== | ( | const sgFColor & | other | ) |
Equal. Checks if two instances equal each other.
float sgFColor::b |
Blue. The colors blue component.
float sgFColor::g |
Green. The colors green component.
float sgFColor::r |
Red. The colors red component.