1 #ifndef RIPPLING_MATH_H_
2 #define RIPPLING_MATH_H_
6 /*----------------------------------------------------------------------*\
8 \*---------------------------------------------------------------------*/
10 /*--------------------------------------*\
12 \*-------------------------------------*/
17 /*--------------------------------------*\
19 \*-------------------------------------*/
24 RipplingMath(int w
, int h
)
30 RipplingMath(const RipplingMath
& source
)
35 /*--------------------------------------*\
37 \*-------------------------------------*/
46 void color(int i
, int j
, float t
, uchar4
& color
)
48 // Debug (a mettre en commentaire)
50 unsigned char levelGris
= 128; //in [0.255] (debug image)
61 //color.w = 255; // opaque
66 /*--------------------------------------*\
68 \*-------------------------------------*/
78 /*----------------------------------------------------------------------*\
80 \*---------------------------------------------------------------------*/