1 2 3 4 5 6 7 8 9 10 11 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