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

Victor JS Fails Silently (Needs better error warnings) #40

Open
zachHixson opened this issue Oct 28, 2020 · 0 comments
Open

Victor JS Fails Silently (Needs better error warnings) #40

zachHixson opened this issue Oct 28, 2020 · 0 comments

Comments

@zachHixson
Copy link

It's easy to do a lot of things by accident IE: Using a scalar in ".multiply()" method, or taking the dot product of a scalar instead of another vector.

When this happens, these functions usually return NaN, and continue on without issue, except that you now have a NaN floating about that you have to figure out where it came from. It would be nice if there was at least some console warnings letting you know that you screwed something up instead of trying to work your way backwards.

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

1 participant