* Ajout d'un exemple CUDA non-openGL (AddVector.cu)
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 00_Rippling_warmup / 03_math / Rippling0Math.h
index 3879d1d..ca71c75 100755 (executable)
@@ -41,7 +41,7 @@ class Rippling0Math
        void color(int i, int j, float t, uchar4* ptrColor)\r
            {\r
            const double dxy10 = dxy(j, i) / 10.0;\r
-           const double grayLevelFloat = 128.0 + 127.0 * cos(dxy10 - 100.0 * t / 7.0) / (dxy10 + 1);\r
+           const double grayLevelFloat = 128.0 + 127.0 * cos(dxy10 - t / 7.0) / (dxy10 + 1);\r
            const uchar grayLevel = (uchar)(long(grayLevelFloat) % 256);\r
 \r
            ptrColor->x = grayLevel;\r