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
test case: var scaled = new Vector(10, 10).scale(1, 0)
expected behaviour scaled === (10,0)
actual behaviour scaled === (10,10)
I found out that reason is implicitly type infer in method scale
scale
this['y'] = y || x;
I wanted to make PR, but don't know, how you build your SAT.min.js file
The text was updated successfully, but these errors were encountered:
ac7f329
Merge pull request #53 from jriecken/fix-scaling-by-zero
92b4ac2
Check explicitly for undefined y param when scaling. Fixes #52
Thanks, I've fixed it and released 0.7.1 of the sat package.
sat
Sorry, something went wrong.
No branches or pull requests
test case:
var scaled = new Vector(10, 10).scale(1, 0)
expected behaviour
scaled === (10,0)
actual behaviour
scaled === (10,10)
I found out that reason is implicitly type infer in method
scale
I wanted to make PR, but don't know, how you build your SAT.min.js file
The text was updated successfully, but these errors were encountered: