File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 33653365 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
33663366 vec3 rd = lens_radius * random_in_unit_disk();
33673367 vec3 offset = u * rd.x() + v * rd.y();
3368+
33683369 return ray(
33693370 origin + offset,
33703371 lower_left_corner + s*horizontal + t*vertical - origin - offset
Original file line number Diff line number Diff line change 137137 ray get_ray(double s, double t) const {
138138 vec3 rd = lens_radius * random_in_unit_disk();
139139 vec3 offset = u * rd.x() + v * rd.y();
140+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
140141 const auto ray_time = random_double(0.0, 1.0);
142+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
141143
142144 return ray(
143145 origin + offset,
You can’t perform that action at this time.
0 commit comments