More timing functions

This commit is contained in:
David 2021-08-28 01:04:31 +02:00
commit 321c677da2
12 changed files with 184 additions and 129 deletions

View file

@ -6,7 +6,7 @@
/* 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;
virtual bool hit(const ray& r, float t_min, float t_max, hit_record& rec) const = 0;
};
#endif