67b4387370c92541712383b0c5ce1b3fc008abe2
1 #ifndef RIPPLING_0_MATH_H_
2 #define RIPPLING_0_MATH_H_
7 /*----------------------------------------------------------------------*\
9 \*---------------------------------------------------------------------*/
11 /*--------------------------------------*\
13 \*-------------------------------------*/
18 /*--------------------------------------*\
20 \*-------------------------------------*/
25 Rippling0Math(int w
, int h
)
31 Rippling0Math(const Rippling0Math
& source
)
36 /*--------------------------------------*\
38 \*-------------------------------------*/
47 void color(int i
, int j
, float t
, uchar4
* ptrColor
)
49 // Debug (a mettre en commentaire)
51 unsigned char levelGris
= 128; //in [0.255] (debug image)
52 ptrColor
->x
= levelGris
;
53 ptrColor
->y
= levelGris
;
54 ptrColor
->z
= levelGris
;
62 //color.w = 255; // opaque
67 /*--------------------------------------*\
69 \*-------------------------------------*/
77 /*----------------------------------------------------------------------*\
79 \*---------------------------------------------------------------------*/