Implémentation du raytracing pour Global Memory/Shared Memory/Constant Memory
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 04_RayTracing / moo / host / RayTracing.h
index 313fa6b..1f9536d 100644 (file)
@@ -25,8 +25,13 @@ class RayTracing : public Animable_I
         std::string getTitle(void) /*override*/;
 
     private:
+        /**
+         * Crée un tablean de 'n' sphères dont le rayon, la couleur et la position sont générés aléatoirement.
+         */
         Sphere* createSpheres(int n);
 
+        Sphere* ptrDevSpheres; // Pointeur sur la mémoire du GPU.
+
         AleaTools alea;
 
         float t;