Add profiling with Remotery
This commit is contained in:
parent
c37be6798f
commit
6331a2bf79
50 changed files with 16864 additions and 11 deletions
|
|
@ -42,6 +42,7 @@ struct camera {
|
|||
|
||||
ray get_ray(double s, double t) const
|
||||
{
|
||||
rmt_ScopedCPUSample(GetRay, RMTSF_Aggregate);
|
||||
vec3 rd = lens_radius * random_in_unit_disk();
|
||||
vec3 offset = u * rd.x + v * rd.y;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue