Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Sprite.cpp File Reference

Detailed Description

Implementation of sprite using SDL.

#include "SDLGraphicContext.h"
#include <math.h>
#include <assert.h>
#include <SDL_image.h>


namespace  GAG


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.

Generated on Mon Oct 24 17:38:25 2005 for Teem by  doxygen 1.4.2