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

Function mapEdgeHash

webgl/js/three.min.js:32737–32746  ·  view source on GitHub ↗
( hash, i )

Source from the content-addressed store, hash-verified

32735 edgeFaceMap = {};
32736
32737 function mapEdgeHash( hash, i ) {
32738
32739 if ( edgeFaceMap[ hash ] === undefined ) {
32740
32741 edgeFaceMap[ hash ] = [];
32742
32743 }
32744
32745 edgeFaceMap[ hash ].push( i );
32746 }
32747
32748
32749 // construct vertex -> face map

Callers 1

computeEdgeFacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected