summaryrefslogtreecommitdiff
path: root/sphere.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'sphere.cuh')
-rw-r--r--sphere.cuh17
1 files changed, 0 insertions, 17 deletions
diff --git a/sphere.cuh b/sphere.cuh
deleted file mode 100644
index 33c77f2..0000000
--- a/sphere.cuh
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef SPHERE_H
-#define SPHERE_H
-#include "render_object.cuh"
-template<class T> class sphere : public render_object<T> {
- using render_object<T>::render_object;
- using T3 = typename vect_t3<T>::vect_t;
- public:
- __device__ T distance_estimator(T3 point) const;
- private:
- T r_ = 1;
-};
-
-template <class T> __device__ T sphere<T>::distance_estimator(T3 point) const {
- return length(point) - r_;
-}
-
-#endif