From 2db0d27e7f1744443958717c19b732eed57455f2 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Sat, 9 Jan 2021 20:42:24 +0100 Subject: Replace old classes with compute shader structs --- include/hittable_list.hpp | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 include/hittable_list.hpp (limited to 'include/hittable_list.hpp') 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 -#include - -#include "hittable.hpp" - -class hittable_list : public hittable { - public: - hittable_list(); - - void add(std::shared_ptr hittable); - void clear(); - - virtual bool hit(const ray&r, double t_min, double t_max, struct hit_info& info) const; - - std::vector> hittables; -}; - -#endif // !__HITTABLE_LIST_HPP_ -- cgit v1.3