X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F04_RayTracing%2Fmoo%2Fdevice%2FSphere.h;h=a437daba76a7ec4a7c7767a0facc1682358146e5;hb=2fd5d915e8a9de4d957d6031d2d68088784eac3c;hp=566b4ab78ea8df10b24a99976f4fa8160e5a57db;hpb=ebdad7dc732d4742d09fd72d312175cb07d27a59;p=GPU.git diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/device/Sphere.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/device/Sphere.h index 566b4ab..a437dab 100644 --- a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/device/Sphere.h +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/device/Sphere.h @@ -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; }