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

Function warm

js/main.js:4695–4695  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4693 edge2.subVectors(vC, vA);
4694 faceNrm.crossVectors(edge1, edge2);
4695 const faceArea = faceNrm.length();
4696 const faceNzNorm = faceArea > 1e-12 ? faceNrm.z / faceArea : 0;
4697 const faceAngle = Math.acos(Math.abs(faceNzNorm)) * (180 / Math.PI);
4698 const angleMasked = faceNzNorm < 0

Callers

nothing calls this directly

Calls 1

ensurePipelineWorkerFunction · 0.85

Tested by

no test coverage detected