MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / equalEdge

Function equalEdge

webgl/js/three.min.js:32219–32223  ·  view source on GitHub ↗

* Detect whether two edges are equal. * Note that when constructing the convex hull, two same edges can only * be of the negative direction.

( ea, eb )

Source from the content-addressed store, hash-verified

32217 * be of the negative direction.
32218 */
32219 function equalEdge( ea, eb ) {
32220
32221 return ea[ 0 ] === eb[ 1 ] && ea[ 1 ] === eb[ 0 ];
32222
32223 }
32224
32225 /**
32226 * Create a random offset between -1e-6 and 1e-6.

Callers 1

addPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected