fc82c54b7d12d4dcf8e955f65afac9064eb34c22
1 #include "FractalProvider.h"
3 Fractal
* MandelbrotProvider::create(bool multiGPU
)
8 return new FractalMandelbrot(dw
, dh
, 1, multiGPU
);
11 Fractal
* JuliaProvider::create()
16 return new FractalJulia(dw
, dh
, 300, -0.745, -0.32, -0.09, 0.1);
19 ImageFonctionel
* MandelbrotProvider::createGL(bool multiGPU
)
21 ColorRGB_01
* ptrColorTitre
= new ColorRGB_01(0, 0, 100);
22 return new ImageFonctionel(create(multiGPU
), ptrColorTitre
); // both ptr destroy by destructor of ImageFonctionel
25 ImageFonctionel
* JuliaProvider::createGL()
27 ColorRGB_01
* ptrColorTitre
= new ColorRGB_01(0, 0, 100);
28 return new ImageFonctionel(create(), ptrColorTitre
); // both ptr destroy by destructor of ImageFonctionel