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

Resize #10

Closed
mrzaxaryan opened this issue Nov 20, 2019 · 1 comment
Closed

Resize #10

mrzaxaryan opened this issue Nov 20, 2019 · 1 comment

Comments

@mrzaxaryan
Copy link

Hi what an awesome project!
Maybe you can add resizing support?
I added gl.viewport(0, 0, gl.canvas.width, gl.canvas.height); into start2d function.
Is it good idea?

@jagenjo
Copy link
Owner

jagenjo commented Nov 20, 2019

Hi, thanks!

I cant add changing the gl.viewport because sometimes you want to draw just to a tiny part of the viewport, but feel free to call gl.viewport before calling start2D.

@jagenjo jagenjo closed this as completed Nov 20, 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

No branches or pull requests

2 participants