提交 380e8459 编写于 作者: C Calvin Huang 提交者: GitHub

Fix sign in Matrix4 docs

Definition of rotation matrix is incorrect
上级 f5fa63a8
......@@ -260,7 +260,7 @@ xAxis.z, yAxis.z, zAxis.z, 0,
[link:https://en.wikipedia.org/wiki/Rotation_matrix#Quaternion here].
The rest of the matrix is set to the identity. So, given [page:Quaternion q] = w + xi + yj + zk, the resulting matrix will be:
<code>
1-2y²-2z² 2xy-2zw 2xz-2yw 0
1-2y²-2z² 2xy-2zw 2xz+2yw 0
2xy+2zw 1-2x²-2z² 2yz-2xw 0
2xz-2yw 2yz+2xw 1-2x²-2y² 0
0 0 0 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册