bill 1 년 전
부모
커밋
8a72144f12
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 8
      src/sdk/association.ts

+ 8 - 8
src/sdk/association.ts

@@ -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)
         })