#ifndef HITTABLE_H #define HITTABLE_H #include "rtweekend.hpp" #include "material.hpp" /* Virtual class that represents objects who could collide against a ray */ struct hittable { virtual bool hit(const ray& r, double t_min, double t_max, hit_record& rec) const = 0; }; #endif