From 2d2fb400d9737add18e1ccc748497ceb759b2338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 6 Mar 2011 10:58:26 +0000 Subject: [PATCH] Add comment about Point#isParallel not being very precise. --- src/basic/Point.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/Point.js b/src/basic/Point.js index a723c94d..2649c19b 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -335,6 +335,7 @@ var Point = this.Point = Base.extend({ * @return {@true if it is parallel} */ isParallel: function(point) { + // TODO: Tolerance seems rather high! return Math.abs(this.x / point.x - this.y / point.y) < 0.00001; },