add mesh notes

This commit is contained in:
Stewart Allen 2022-01-30 21:49:06 -05:00
commit 9ff7289946
2 changed files with 10 additions and 2 deletions

View file

@ -14,7 +14,12 @@ if (mesh.tool) return;
let geom = mesh.geom;
/** tool for identiying defects and healing them **/
/**
* tool for identiying defects and healing them
* copied from base/mesh which is used by KM. the
* two need to be merged. earcut needs to be migrated
* to base.util.triagulate
*/
mesh.tool = class MeshTool {
constructor(params = {}) {
this.precision = Math.pow(10, params.precision || 6);