|
@@ -57,23 +57,23 @@ const associationModels = (sdk: SDK) => {
|
|
|
const data = transform;
|
|
|
if (transform.rotation) {
|
|
|
data.rotation = {
|
|
|
- x: round(transform.rotation.x, 3),
|
|
|
- y: round(transform.rotation.y, 3),
|
|
|
- z: round(transform.rotation.z, 3)
|
|
|
+ x: round(transform.rotation.x, 5),
|
|
|
+ y: round(transform.rotation.y, 5),
|
|
|
+ z: round(transform.rotation.z, 5)
|
|
|
}
|
|
|
}
|
|
|
if (transform.position) {
|
|
|
data.position = {
|
|
|
- x: round(transform.position.x, 3),
|
|
|
- y: round(transform.position.y, 3),
|
|
|
- z: round(transform.position.z, 3)
|
|
|
+ x: round(transform.position.x, 5),
|
|
|
+ y: round(transform.position.y, 5),
|
|
|
+ z: round(transform.position.z, 5)
|
|
|
}
|
|
|
}
|
|
|
if (transform.bottom) {
|
|
|
- data.bottom = round(transform.bottom)
|
|
|
+ data.bottom = round(transform.bottom,5)
|
|
|
}
|
|
|
if (transform.scale) {
|
|
|
- data.scale = round(transform.scale)
|
|
|
+ data.scale = round(transform.scale,5)
|
|
|
}
|
|
|
nextTick(() => selfUpdate = false)
|
|
|
})
|