Add profiling with Remotery
This commit is contained in:
parent
c37be6798f
commit
6331a2bf79
50 changed files with 16864 additions and 11 deletions
|
|
@ -26,6 +26,7 @@ struct hittable_list : hittable {
|
|||
|
||||
bool hittable_list::hit(const ray& r, double t_min, double t_max, hit_record& rec) const
|
||||
{
|
||||
rmt_ScopedCPUSample(HittableList_Hit, RMTSF_Aggregate);
|
||||
hit_record temp_rec;
|
||||
bool hit_anything = false;
|
||||
double closest_so_far = t_max;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue