From 2c034475b04b20d9116a504a620e7b6c626d9730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 6 Mar 2011 14:26:23 +0000 Subject: [PATCH] Fix a bug in Point#cross(). --- src/basic/Point.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/Point.js b/src/basic/Point.js index 1afe7b03..f3c00ea6 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -440,7 +440,7 @@ var Point = this.Point = Base.extend({ */ cross: function() { var point = Point.read(arguments); - return this.x * point.y - this.y - point.x; + return this.x * point.y - this.y * point.x; }, /**