Jimcpp 2.1.0
Jimcpp is a high-performance c++ graphics engine.
|
Class representing a color in HSL format. More...
#include <jimcpp/core/engine/SColor.hpp>
Public Member Functions | |
SColorHSL (f32 h=0.f, f32 s=0.f, f32 l=0.f) | |
void | fromRGB (const SColorf &color) |
void | toRGB (SColorf &color) const |
Public Attributes | |
f32 | Hue |
f32 | Saturation |
f32 | Luminance |
Class representing a color in HSL format.
The color values for hue, saturation, luminance are stored in 32bit floating point variables. Hue is in range [0,360], Luminance and Saturation are in percent [0,100]