#include <IMG_Color.h>
Public Methods | |
| IMG_ColorRGB (float r=0,float g=0,float b=0) | |
| Constructs a color with the given values. More... | |
| IMG_ColorRGB (const IMG_ColorRGB &c) | |
| Copy constructor. More... | |
| IMG_ColorRGB (const IMG_ColorRGBA &c) | |
| Constructs a color without alpha from one with. More... | |
Public Attributes | |
| float | m_r |
| Red component of the color. | |
| float | m_g |
| Green component of the color. | |
| float | m_b |
| Blue component of the color. | |
Components are stored as floats.
|
|
Constructs a color with the given values.
|
|
|
Copy constructor.
|
|
|
Constructs a color without alpha from one with.
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000