nl_tokens: / * js / src / d2 / pred / sinsign . js 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 ) . sinsign ( a b c ) > 0 iff point c lies to the left of segment _ab_ .
pl_tokens: function sinsign ( a , b , c ) { <mask> ( b [ 0 ] - a [ 0 ] ) * ( c [ 1 ] - a [ 1 ] ) - ( b [ 1 ] - a [ 1 ] ) * ( c [ 0 ] - a [ 0 ] ) ; }