Cleanage.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 04_RayTracing / moo / device / Sphere.h
index 566b4ab..a437dab 100644 (file)
@@ -2,10 +2,8 @@
 #define SPHERE_H
 
 #include "cudaTools.h"
-#include "cudaType_CPU.h"
-#include "mathTools.h"
+#include "MathTools.h"
 
-#endif
 class Sphere
     {
     public:
@@ -23,7 +21,7 @@ class Sphere
             }
 
         __host__
-        void setCentre(float3 centre)
+        void setCentre(const float3& centre)
             {
             this->centre = centre;
             }