morphic.js
morphic.js copied to clipboard
question about crossProduct function in Point
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?