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
Negative scale does not work, with webgl mode only.
To Reproduce
<!doctype html> <html> <head> <meta charset="utf-8"> <script src="build/two.min.js"></script> </head> <body> <script> var two = new Two({ type: Two.Types.webgl, fullscreen: true, autostart: true }).appendTo(document.body) const shape = two.makeRectangle(two.width * .5, two.height * .5, 100, 100) shape.scale = -.5 </script> </body> </html>
Expected behavior The rectangle should be visible (it is when desactivating webgl mode)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
Ah yes, this is likely because all the objects in WebGL are rendered on one side. I'll look into this.
Sorry, something went wrong.
jonobr1
No branches or pull requests
Negative scale does not work, with webgl mode only.
To Reproduce
Expected behavior
The rectangle should be visible (it is when desactivating webgl mode)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: