summaryrefslogtreecommitdiff
path: root/render_object.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'render_object.cuh')
-rw-r--r--render_object.cuh12
1 files changed, 12 insertions, 0 deletions
diff --git a/render_object.cuh b/render_object.cuh
new file mode 100644
index 0000000..0063d94
--- /dev/null
+++ b/render_object.cuh
@@ -0,0 +1,12 @@
+#ifndef RENDER_OBJECT_H
+#define RENDER_OBJECT_H
+#include "entity.cuh"
+
+template<class T> class render_object : public entity<T> {
+ using T3 = typename vect_t3<T>::vect_t;
+ using entity<T>::entity;
+ public:
+ virtual __device__ T distance_estimator(T3 point) const = 0;
+};
+
+#endif