normalize util.bound to Box3 extensions
This commit is contained in:
parent
1cdfcab55f
commit
b8877f1225
4 changed files with 7 additions and 8 deletions
|
|
@ -103,6 +103,7 @@ mesh.model = class MeshModel extends mesh.object {
|
|||
meh.castShadow = true;
|
||||
meh.renderOrder = 1;
|
||||
// center vertices then restore mesh object position
|
||||
// still this doesn't work. scale broken for bounding boxes
|
||||
// let mid = meh.getBoundingBox().mid;
|
||||
// geo.moveMesh(-mid.x, -mid.y, -mid.x);
|
||||
// this.move(mid.x, mid.y, mid.x);
|
||||
|
|
|
|||
Loading…
Reference in a new issue