Skip to content

Commit

Permalink
Update sin_sign.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aureooms committed Jun 8, 2014
1 parent e28c23a commit fa3aa59
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions js/src/2d/sin_sign.js
Original file line number Diff line number Diff line change
@@ -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_.
*
* <p>
* Originally implemented as
Expand All @@ -29,4 +30,4 @@ var sin_sign = function(a, b, c){
};


exports.sin_sign = sin_sign;
exports.sin_sign = sin_sign;

0 comments on commit fa3aa59

Please sign in to comment.