We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the origin is supposed to be in the center of the canvas in webgpu and webgpu-fallback, but it currently gets shifted both in _beginRender:
_beginRender
q5.js/src/q5-core.js
Lines 182 to 185 in 75b8271
resetMatrix
q5.js/src/q5-2d-canvas.js
Line 158 in 75b8271
so it ends up at the bottom-right of the screen when draw is called.
draw
The text was updated successfully, but these errors were encountered:
ah true! q5 no longer needs the translation in beginRender since resetMatrix runs at the start of each frame.
Sorry, something went wrong.
No branches or pull requests
I think the origin is supposed to be in the center of the canvas in webgpu and webgpu-fallback, but it currently gets shifted both in
_beginRender
:q5.js/src/q5-core.js
Lines 182 to 185 in 75b8271
and
resetMatrix
:q5.js/src/q5-2d-canvas.js
Line 158 in 75b8271
so it ends up at the bottom-right of the screen when
draw
is called.The text was updated successfully, but these errors were encountered: