summaryrefslogtreecommitdiff
path: root/render_object.cuh
blob: 0063d94dda32c85a9cd8d170a5d3833a6e13c83d (plain)
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