husl.h
Go to the documentation of this file.
1 
2 #ifndef HUSL_H
3 #define HUSL_H
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 //These are the only 2 functions you have to use. Don't care about the ones in husl.c
9 //Pass in HUSL values and get back RGB values, H ranges from 0 to 360, S and L from 0 to 100.
10 //RGB values will range from 0 to 1.
11 void HUSLtoRGB(float *r, float *g, float *b, float h, float s,float l);
12 //Pass in RGB values ranging from 0 to 1 and get back HUSL values.
13 //H ranges from 0 to 360, S and L from 0 to 100.
14 void RGBtoHUSL(float *h, float *s,float *l, float r, float g, float b);
15 #ifdef __cplusplus
16 }
17 #endif
18 
19 #endif
string b
Definition: busy_node.py:4
void RGBtoHUSL(float *h, float *s, float *l, float r, float g, float b)
Definition: husl.c:71
void HUSLtoRGB(float *r, float *g, float *b, float h, float s, float l)
Definition: husl.c:56


rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Jul 10 2019 03:10:12