Add profiling with Remotery

This commit is contained in:
David 2021-08-24 20:55:39 +02:00
commit 6331a2bf79
50 changed files with 16864 additions and 11 deletions

View file

@ -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;