Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Image_Cuda / src / cpp / core / 00_Vague_warmup / Vague0Provider.h
1 #ifndef VAGUE_0L_PROVIDER_H_
2 #define VAGUE_0L_PROVIDER_H_
3
4 #include "Vague0Image.h"
5
6 /*----------------------------------------------------------------------*\
7 |* Declaration *|
8 \*---------------------------------------------------------------------*/
9
10 /*--------------------------------------*\
11 |* Public *|
12 \*-------------------------------------*/
13
14 class Vague0Provider
15 {
16 public:
17
18 static Vague0Image* createGL(void)
19 {
20 int dw = 16 * 60; // =32*30=960
21 int dh = 16 * 60; // =32*30=960
22
23 float dt = 2 * PI / 1000; // animation para
24
25 return new Vague0Image(dw, dh, dt);
26 }
27
28 };
29
30 #endif
31
32 /*----------------------------------------------------------------------*\
33 |* End *|
34 \*---------------------------------------------------------------------*/
35