improve shift + z split snapping

This commit is contained in:
Stewart Allen 2022-05-13 15:05:21 -04:00
commit 3a869e3904
3 changed files with 27 additions and 23 deletions

View file

@ -115,6 +115,10 @@ mesh.model = class MeshModel extends mesh.object {
return this.mesh.matrixWorld.elements;
}
get matrixWorld() {
return this.mesh.matrixWorld;
}
// override and translate mesh
move(x = 0, y = 0, z = 0) {
let arr = this.attributes.position.array;