Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 00_Rippling_warmup / Rippling0Provider.h
diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/00_Rippling_warmup/Rippling0Provider.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/00_Rippling_warmup/Rippling0Provider.h
new file mode 100755 (executable)
index 0000000..bc730be
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef RIPPLING_0_PROVIDER_H_\r
+#define RIPPLING_0_PROVIDER_H_\r
+\r
+\r
+#include "Rippling0Image.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class Rippling0Provider\r
+    {\r
+    public:\r
+\r
+       static Rippling0Image* createGL(void)\r
+           {\r
+            float dt = 2*PI/1000; // animation para\r
+\r
+           int dw = 16 * 60; // =32*30=960\r
+           int dh = 16 * 60; // =32*30=960\r
+\r
+           return new Rippling0Image(dw, dh, dt);\r
+           }\r
+\r
+    };\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r