You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a typo where you say:
"
If you want to handle horizontal scrolling just change this line
...
to this
gl.canvas.style.transform = translateX(${window.scrollX} translateY(${window.scrollY}px);
"
I think it should be
gl.canvas.style.transform = translateX(${window.scrollX}px) translateY(${window.scrollY}px);
as in the code
Just a small thing. Thanks again.
The text was updated successfully, but these errors were encountered:
Thank you for a super and very useful article on https://webglfundamentals.org/webgl/lessons/webgl-multiple-views.html.
I think there is a typo where you say:
"
If you want to handle horizontal scrolling just change this line
...
to this
gl.canvas.style.transform =
translateX(${window.scrollX} translateY(${window.scrollY}px)
;"
I think it should be
gl.canvas.style.transform =
translateX(${window.scrollX}px) translateY(${window.scrollY}px)
;as in the code
Just a small thing. Thanks again.
The text was updated successfully, but these errors were encountered: