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

Function estimateSubdivisionTriCount

js/smartResolution.js:259–262  ·  view source on GitHub ↗
(geometry, edge)

Source from the content-addressed store, hash-verified

257 * recommendedMaxTri: number,
258 * }
259 * }}
260 */
261export function computeSmartResolution({ geometry, bounds, settings, texture }) {
262 if (!geometry || !bounds || !texture || !texture.imageData) {
263 return null;
264 }
265

Callers

nothing calls this directly

Calls 2

simulateFromEdgesFunction · 0.85
computeTriEdgesFunction · 0.85

Tested by

no test coverage detected