Cleanage.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 04_RayTracing / moo / host / RayTracing.cu
index 5034594..1623820 100644 (file)
@@ -32,12 +32,12 @@ void RayTracing::runGPU(uchar4* ptrDevPixels)
     {
     rayTracing<<<dg,db>>>(ptrDevPixels, this->w, this->h, this->t);
 
-    HANDLE_ERROR(cudaDeviceSynchronize()); // Pour flusher les 'printf' (pour le DEBUG).
+    // HANDLE_ERROR(cudaDeviceSynchronize()); // Pour flusher les 'printf' (pour le DEBUG).
     }
 
 void RayTracing::animationStep()
     {
-    this->t += 0.1; // TODO
+    this->t += 0.1; // TODO.
     }
 
 int RayTracing::getW()
@@ -69,7 +69,7 @@ Sphere* RayTracing::createSpheres(int n)
         {
         spheres[i].setR(float(this->alea.uniformeAB(20, this->w / 10 - 1)));
 
-        cpu::float3 centre
+        float3 centre
             {
             float(this->alea.uniformeAB(double(bord), double(this->w - bord))),
             float(this->alea.uniformeAB(double(bord), double(this->h - bord))),