bx-1316-refactoring #14
|
@ -214,8 +214,9 @@ const loadModels = async () => {
|
||||||
});
|
});
|
||||||
const box_size = new Vector3();
|
const box_size = new Vector3();
|
||||||
box.getSize(box_size)
|
box.getSize(box_size)
|
||||||
|
console.log(box_size)
|
||||||
props.loaded_pan(
|
props.loaded_pan(
|
||||||
new Vector3(box_size.x * 0.25, box_size.y * 0.25, box_size.z * 0.25),
|
new Vector3(box_size.x * 0.5, box_size.y * 0.5, box_size.z * 0.5),
|
||||||
new Vector3(box_size.x * -0.25, box_size.y * -0.25, box_size.z * -0.25),
|
new Vector3(box_size.x * -0.25, box_size.y * -0.25, box_size.z * -0.25),
|
||||||
)
|
)
|
||||||
controls.value.enabled = true;
|
controls.value.enabled = true;
|
||||||
|
|
Loading…
Reference in New Issue