MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / sqDist

Function sqDist

js/regularize.js:345–350  ·  view source on GitHub ↗
(va, vb)

Source from the content-addressed store, hash-verified

343 outParents[oi] = newParentId[t];
344 oi++;
345 }
346
347 const outGeo = new THREE.BufferGeometry();
348 outGeo.setAttribute('position', new THREE.BufferAttribute(outPositions, 3));
349 outGeo.computeVertexNormals();
350
351 // Carry through excludeWeight if input had it (precision masking pipeline)
352 const inExcl = geometry.attributes.excludeWeight;
353 if (inExcl) {

Callers 1

regularizeMeshFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected