TP fractalTP fractal..
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / mainGL.cpp
index c853716..97952e7 100755 (executable)
@@ -46,24 +46,24 @@ int mainGL(void)
     {\r
     //Rippling0Image* ptrRippling0 = Rippling0Provider::createGL();\r
     //Image* ptrRippling = RipplingProvider::createGL();\r
-\r
-    ImageFonctionel* ptrFractalMandelbrot = FractalProvider::createGL();\r
+    //ImageFonctionel* ptrFractalMandelbrot = FractalProvider::createMandelbrotGL();\r
+    ImageFonctionel* ptrFractalJulia = FractalProvider::createJuliaGL();\r
 \r
     const bool isAnimation = true;\r
     const bool isSelection = true;\r
 \r
     //GLUTImageViewers rippling0Viewer(ptrRippling0, isAnimation, isSelection, 0, 0);\r
     //GLUTImageViewers ripplingViewer(ptrRippling, isAnimation, isSelection, 10, 10);\r
-\r
-    GLUTImageViewers fractalMandelbrotViewer(ptrFractalMandelbrot, true, true, 20, 20);\r
+    //GLUTImageViewers fractalMandelbrotViewer(ptrFractalMandelbrot, true, true, 20, 20);\r
+    GLUTImageViewers fractalJuliaViewer(ptrFractalJulia, true, true, 20, 20);\r
 \r
     GLUTImageViewers::runALL(); // Bloquant, Tant qu'une fenetre est ouverte\r
 \r
     // destruction\r
     //delete ptrRippling0;\r
     //delete ptrRippling;\r
-\r
-    delete ptrFractalMandelbrot;\r
+    //delete ptrFractalMandelbrot;\r
+    delete ptrFractalJulia;\r
 \r
     return EXIT_SUCCESS;\r
     }\r