Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
69ef1847
Unverified
Commit
69ef1847
authored
Oct 29, 2021
by
Sanjay Salem
Committed by
GitHub
Oct 29, 2021
Browse files
updated Rect::Uniform to Rect
parent
e7e7e248
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/student/pathtracer.cpp
View file @
69ef1847
...
...
@@ -13,7 +13,7 @@ Spectrum Pathtracer::trace_pixel(size_t x, size_t y) {
// Generate a ray that uniformly samples pixel (x,y) and return the incoming light.
// The following code generates a ray at the bottom left of the pixel every time.
// Tip: Samplers::Rect
::Uniform
// Tip: Samplers::Rect
// Tip: log_ray is useful for debugging
Vec2
xy
((
float
)
x
,
(
float
)
y
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment