X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2FmainGL.cpp;h=97952e73f1673e9c8704d8727136039768cb9ce1;hp=c8537162dd218b3120a3d6eeda2a0b5d53eeeb41;hb=bd178531f80f8bc41c998d1c4588f9e18cc29389;hpb=7798b7c27cf13aaeada22faae8648df8cb339f1b diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/mainGL.cpp b/WCudaMSE/Student_Cuda_Image/src/cpp/core/mainGL.cpp index c853716..97952e7 100755 --- a/WCudaMSE/Student_Cuda_Image/src/cpp/core/mainGL.cpp +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/mainGL.cpp @@ -46,24 +46,24 @@ int mainGL(void) { //Rippling0Image* ptrRippling0 = Rippling0Provider::createGL(); //Image* ptrRippling = RipplingProvider::createGL(); - - ImageFonctionel* ptrFractalMandelbrot = FractalProvider::createGL(); + //ImageFonctionel* ptrFractalMandelbrot = FractalProvider::createMandelbrotGL(); + ImageFonctionel* ptrFractalJulia = FractalProvider::createJuliaGL(); const bool isAnimation = true; const bool isSelection = true; //GLUTImageViewers rippling0Viewer(ptrRippling0, isAnimation, isSelection, 0, 0); //GLUTImageViewers ripplingViewer(ptrRippling, isAnimation, isSelection, 10, 10); - - GLUTImageViewers fractalMandelbrotViewer(ptrFractalMandelbrot, true, true, 20, 20); + //GLUTImageViewers fractalMandelbrotViewer(ptrFractalMandelbrot, true, true, 20, 20); + GLUTImageViewers fractalJuliaViewer(ptrFractalJulia, true, true, 20, 20); GLUTImageViewers::runALL(); // Bloquant, Tant qu'une fenetre est ouverte // destruction //delete ptrRippling0; //delete ptrRippling; - - delete ptrFractalMandelbrot; + //delete ptrFractalMandelbrot; + delete ptrFractalJulia; return EXIT_SUCCESS; }