Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Image / src / cpp / core / 01_Vague / d_provider / VagueProvider.cpp
1 #include "VagueProvider.h"
2 #include "MathTools.h"
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 /*--------------------------------------*\
9 |* Imported *|
10 \*-------------------------------------*/
11
12 /*--------------------------------------*\
13 |* Public *|
14 \*-------------------------------------*/
15
16 /*--------------------------------------*\
17 |* Private *|
18 \*-------------------------------------*/
19
20 /*----------------------------------------------------------------------*\
21 |* Implementation *|
22 \*---------------------------------------------------------------------*/
23
24 /*--------------------------------------*\
25 |* Public *|
26 \*-------------------------------------*/
27
28 /*-----------------*\
29 |* static *|
30 \*----------------*/
31
32 VagueImage* VagueProvider::create(void)
33 {
34 int dw = 16 * 60; // =32*30=960
35 int dh = 16 * 60; // =32*30=960
36
37 float dt = 2 * PI / 200; // animation para
38
39 return new VagueImage(dw, dh, dt);
40 }
41
42
43 /*--------------------------------------*\
44 |* Private *|
45 \*-------------------------------------*/
46
47 /*----------------------------------------------------------------------*\
48 |* End *|
49 \*---------------------------------------------------------------------*/