X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda_Image%2Fsrc%2Fcpp%2Fcore%2F04_RayTracing%2Fmoo%2Fhost%2FRayTracing.h;h=313fa6b161ad1daf1c3b4078dddeb6f6cca9760c;hb=d720146850389c8bbe75cb86e69d7e26629ff97f;hp=80729b86160520adb5d4869ddf77a1af4a7f351a;hpb=ebdad7dc732d4742d09fd72d312175cb07d27a59;p=GPU.git diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/host/RayTracing.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/host/RayTracing.h index 80729b8..313fa6b 100644 --- a/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/host/RayTracing.h +++ b/WCudaMSE/Student_Cuda_Image/src/cpp/core/04_RayTracing/moo/host/RayTracing.h @@ -4,6 +4,8 @@ #include "cudaTools.h" #include "Animable_I.h" #include "MathTools.h" +#include "AleaTools.h" + #include "Sphere.h" class RayTracing : public Animable_I @@ -20,11 +22,13 @@ class RayTracing : public Animable_I float getT() /*override*/; - string getTitle(void) /*override*/; + std::string getTitle(void) /*override*/; private: Sphere* createSpheres(int n); + AleaTools alea; + float t; const int w; @@ -33,7 +37,7 @@ class RayTracing : public Animable_I const dim3 dg; const dim3 db; - const string title; + const std::string title; }; #endif