experiment with buckets object instead of array to handle negative z. avoid mutating output points in renderer

This commit is contained in:
Stewart Allen 2022-11-03 23:16:07 -04:00
commit 54b9889ffa
3 changed files with 37 additions and 30 deletions

View file

@ -276,6 +276,7 @@ class Widget {
return new base.Mesh({precision, vertices: this.getVertices().array});
}
// should go away and be replaced by getGeoVertices
getVertices() {
return this.mesh.geometry.attributes.position;
}