From 093200a449ea38952de52012e324036c106e294b Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Mon, 27 May 2024 20:56:59 -0500 Subject: boutta switch away from templates --- render_object.cuh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 render_object.cuh (limited to 'render_object.cuh') 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 render_object : public entity { + using T3 = typename vect_t3::vect_t; + using entity::entity; + public: + virtual __device__ T distance_estimator(T3 point) const = 0; +}; + +#endif -- cgit v1.2.3