소스 검색

16G拟合

lvjincheng 4 년 전
부모
커밋
28d5749a8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

+ 1 - 1
Assets/BowArrow/Scripts/Bluetooth/ShootCheck.cs

@@ -254,7 +254,7 @@ public class ShootCheck : MonoBehaviour
                 double y = 1.0 / (p1+p2*Mathf.Pow(x, 0.5f)*Mathf.Log(x)+p3/Mathf.Pow(x, 0.5f));
                 acc = (float) y;
             }
-            Vector3 keyAcc = new Vector3(ax, ay, az);
+            Vector3 keyAcc = new Vector3(ax, acc, az);
             keyAccList.Enqueue(keyAcc);
             keyTimeList.Enqueue(t);
             return false;