diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-09 20:42:24 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-09 20:43:09 +0100 |
| commit | 2db0d27e7f1744443958717c19b732eed57455f2 (patch) | |
| tree | 839b8ea513c8c239f015071ab083bd50f03854a5 /include/hittable_list.hpp | |
| parent | 4379b46b46563c5a709df8d567ef75affc3fd31c (diff) | |
Replace old classes with compute shader structs
Diffstat (limited to 'include/hittable_list.hpp')
| -rw-r--r-- | include/hittable_list.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/hittable_list.hpp b/include/hittable_list.hpp deleted file mode 100644 index 41d8f4a..0000000 --- a/include/hittable_list.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef __HITTABLE_LIST_HPP_ -#define __HITTABLE_LIST_HPP_ - -#include <vector> -#include <memory> - -#include "hittable.hpp" - -class hittable_list : public hittable { - public: - hittable_list(); - - void add(std::shared_ptr<hittable> hittable); - void clear(); - - virtual bool hit(const ray&r, double t_min, double t_max, struct hit_info& info) const; - - std::vector<std::shared_ptr<hittable>> hittables; -}; - -#endif // !__HITTABLE_LIST_HPP_ |
