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

vector.js same phi for two different vectors #18

Open
luckylooke opened this issue Jul 29, 2014 · 1 comment
Open

vector.js same phi for two different vectors #18

luckylooke opened this issue Jul 29, 2014 · 1 comment

Comments

@luckylooke
Copy link

Copied from console:
a=new Vector(1,-1)
Vector {x: 1, y: -1, z: 0, negative: function, add: function…}
a.toAngles().phi
-0.7853981633974482
b=new Vector(-1,-1)
Vector {x: -1, y: -1, z: 0, negative: function, add: function…}
b.toAngles().phi
-0.7853981633974482

Equal case is for a=new Vector(-1,1) and a=new Vector(1,1)

@bowbahdoe
Copy link

Can you show mathematically that this should not be the case?

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