質問編集履歴
3
小数点が消えるバグ
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,11 +34,11 @@
|
|
34
34
|
|
35
35
|
q.z /= q.w;
|
36
36
|
|
37
|
-
q.w = 1.0f;
|
37
|
+
q.w = 1.0 f;
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
float angleX = 2.0f * Mathf.Rad2Deg * Mathf.Atan (q.x);
|
41
|
+
float angleX = 2.0 f * Mathf.Rad2Deg * Mathf.Atan (q.x);
|
42
42
|
|
43
43
|
|
44
44
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
|
49
|
-
q.x = Mathf.Tan (0.5f * Mathf.Deg2Rad * angleX);
|
49
|
+
q.x = Mathf.Tan (0.5 f * Mathf.Deg2Rad * angleX);
|
50
50
|
|
51
51
|
|
52
52
|
|
2
小数点がなぜか消えてたので修正。
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
|
60
60
|
|
61
|
-
・質問2。
|
61
|
+
・質問2。
|
62
62
|
|
63
63
|
回転した後に、ClampRotationAroundXAxisで角度制限しているみたいですが、
|
64
64
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -108,6 +108,8 @@
|
|
108
108
|
|
109
109
|
下記のように分解されるのはわかりましたが、
|
110
110
|
|
111
|
+
(わかったというよりも丸暗記するしかないということで納得しましたが)
|
112
|
+
|
111
113
|
```C#
|
112
114
|
|
113
115
|
x=nxsin(θ/2)
|