morphic.js icon indicating copy to clipboard operation
morphic.js copied to clipboard

question about crossProduct function in Point

Open davidedc opened this issue 13 years ago • 0 comments

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?

davidedc avatar Feb 03 '13 22:02 davidedc