Add comment about Point#isParallel not being very precise.

This commit is contained in:
Jürg Lehni 2011-03-06 10:58:26 +00:00
parent a7ec0ef269
commit 2d2fb400d9

View file

@ -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;
},