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/lambertian.hpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 include/lambertian.hpp (limited to 'include/lambertian.hpp') diff --git a/include/lambertian.hpp b/include/lambertian.hpp deleted file mode 100644 index b9b7509..0000000 --- a/include/lambertian.hpp +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef __LAMBERTIAN_HPP_ -#define __LAMBERTIAN_HPP_ - -#include "material.hpp" - -class lambertian : public material { - public: - lambertian(const color& albedo); - - virtual bool scatter(const ray& r, const struct hit_info& info, color& attenuation, ray& scattered) const; - - color albedo; -}; - -#endif // !__LAMBERTIAN_HPP_ -- cgit v1.3