This repository was archived by the owner on Oct 12, 2022. It is now read-only.
Commit f0c91f6
authored
Update raytracer.ts
`ctx.fillRect()` last 2 args should be width and height (not x2, y2)
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/fillRect
will this fix https://www.typescriptlang.org/play/index.html too?1 parent 1a9d4f9 commit f0c91f6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments