From fa3aa59ee3f2b1ccab35a07b2bc48dd13d7f4166 Mon Sep 17 00:00:00 2001 From: aureooms Date: Sun, 8 Jun 2014 13:14:05 +0200 Subject: [PATCH] Update sin_sign.js --- js/src/2d/sin_sign.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/js/src/2d/sin_sign.js b/js/src/2d/sin_sign.js index 53a5ce5..2cfba02 100644 --- a/js/src/2d/sin_sign.js +++ b/js/src/2d/sin_sign.js @@ -1,8 +1,9 @@ /** - * Computes the cross product of _ab_ and _ac_, - * can be interpreted as the sinus sign in a "right-handed" coordinate system - * (i.e. clockwise angle values). + * Computes the cross product of vectors _ab_ and _ac_. + * Can be interpreted as the sinus sign in a "right-handed" + * coordinate system (i.e. clockwise angle values). + * sin_sign(a, b, c) > 0 iff point c 'lies to the left' of segment _ab_. * *

* Originally implemented as @@ -29,4 +30,4 @@ var sin_sign = function(a, b, c){ }; -exports.sin_sign = sin_sign; \ No newline at end of file +exports.sin_sign = sin_sign;