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

question about crossProduct function in Point #6

Open
davidedc opened this issue Feb 3, 2013 · 0 comments
Open

question about crossProduct function in Point #6

davidedc opened this issue Feb 3, 2013 · 0 comments

Comments

@davidedc
Copy link

davidedc commented Feb 3, 2013

the crossProduct function in Point is:

Point.prototype.crossProduct = function (aPoint) {
return this.multiplyBy(aPoint.mirror());
};

which if I'm not mistaken returns another point. On the other hand, it looks like the consensus on 2d cross product it's that it's a scalar

http://mathworld.wolfram.com/CrossProduct.html

This function is not used in morphic.js, so I couldn't figure out the actual use/meaning of this piece of code. Is it possible to document this function a little more?

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