More timing functions
This commit is contained in:
parent
6331a2bf79
commit
321c677da2
12 changed files with 184 additions and 129 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue