#include "SDLGraphicContext.h"
#include <math.h>
#include <assert.h>
#include <SDL_image.h>
Namespaces | |
namespace | GAG |
Functions | |
float | fmin (float f1, float f2, float f3) |
Return the min of f1,f2 and f3. | |
float | fmax (float f1, float f2, float f3) |
Return the max of f1,f2 and f3. | |
void | RGBtoHSV (float r, float g, float b, float *h, float *s, float *v) |
Transform (r,g,b) in RGB to (h,s,v) in HSV (Hue,Saturation,Value). | |
void | HSVtoRGB (float *r, float *g, float *b, float h, float s, float v) |
Transform (h,s,v) in HSV (Hue,Saturation,Value) to (r,g,b) in RGB. |