Explorar el Código

Fix sign in Matrix4 docs

Definition of rotation matrix is incorrect
Calvin Huang hace 8 años
padre
commit
380e8459f7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/api/math/Matrix4.html

+ 1 - 1
docs/api/math/Matrix4.html

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