3 #include "Indice2D.h"
\r
4 #include "cudaTools.h"
\r
7 #include "RipplingMath.h"
\r
12 /*----------------------------------------------------------------------*\
\r
14 \*---------------------------------------------------------------------*/
\r
16 /*--------------------------------------*\
\r
18 \*-------------------------------------*/
\r
20 /*--------------------------------------*\
\r
22 \*-------------------------------------*/
\r
24 __global__ void rippling(uchar4* ptrDevPixels, int w, int h, float t);
\r
26 /*--------------------------------------*\
\r
28 \*-------------------------------------*/
\r
30 /*----------------------------------------------------------------------*\
\r
31 |* Implementation *|
\r
32 \*---------------------------------------------------------------------*/
\r
34 /*--------------------------------------*\
\r
36 \*-------------------------------------*/
\r
38 /*--------------------------------------*\
\r
40 \*-------------------------------------*/
\r
42 __global__ void rippling(uchar4* ptrDevPixels, int w, int h, float t)
\r
44 RipplingMath ripplingMath = RipplingMath(w, h);
\r
46 // TODO pattern entrelacement
\r
49 /*----------------------------------------------------------------------*\
\r
51 \*---------------------------------------------------------------------*/
\r