projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanage.
[GPU.git]
/
WCudaMSE
/
Student_Cuda_Image
/
src
/
cpp
/
core
/
04_RayTracing
/
moo
/
device
/
Sphere.h
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
(file)
--- 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"
#define SPHERE_H
#include "cudaTools.h"
-#include "cudaType_CPU.h"
-#include "mathTools.h"
+#include "MathTools.h"
-#endif
class Sphere
{
public:
class Sphere
{
public:
@@
-23,7
+21,7
@@
class Sphere
}
__host__
}
__host__
- void setCentre(
float3
centre)
+ void setCentre(
const float3&
centre)
{
this->centre = centre;
}
{
this->centre = centre;
}