Stores Colors as floating point in the RGB format. More...
#include <Color.hpp>
Public Member Functions | |
| RGB_Float (float r_, float g_, float b_) | |
| Creates an RGB object with the specified values. | |
| RGB_Float (const Color &c) | |
| Creates an RGB object from a Color object. | |
| operator Color () const | |
| Converts to a Color object. | |
Public Attributes | |
| float | r |
| Red color component. | |
| float | g |
| Green color component. | |
| float | b |
| Blue color component. | |
Stores Colors as floating point in the RGB format.
| a5::RGB_Float::RGB_Float | ( | float | r_, | |
| float | g_, | |||
| float | b_ | |||
| ) |
Creates an RGB object with the specified values.
| float a5::RGB_Float::r |
Red color component.
| float a5::RGB_Float::g |
Green color component.
| float a5::RGB_Float::b |
Blue color component.
1.7.1