add mesh notes
This commit is contained in:
parent
efc3c5c77a
commit
9ff7289946
2 changed files with 10 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue