Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RayTracer.java #29

Merged
merged 1 commit into from
Oct 6, 2019
Merged

Update RayTracer.java #29

merged 1 commit into from
Oct 6, 2019

Conversation

gabrielsroka
Copy link
Contributor

fillRect() should use width and height (the original MS TS code had the same bug). i created a PR there, too.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect

`fillRect()` should use width and height (the original MS TS code had the same bug). i've opened a PR there, too.
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect
@lgrignon
Copy link
Collaborator

Hello, thanks for your PR, did you try running the RayTracer after your modification? Does it behave the same?
Thank you again

@gabrielsroka
Copy link
Contributor Author

I ran the TS code on Microsoft's playground. It actually runs faster with 1, 1, since it doesn't have to render as many pixels.

@lgrignon lgrignon merged commit 17e5b58 into cincheo:master Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants