Recep Aslantas
2d77123999
quat: fix quaternion inverse and tests about it
...
* multiplication quaternion and its inverse must be identity
2018-04-11 16:50:37 +03:00
Recep Aslantas
fdea13507b
replace mat4_mulq with glm_quat_rotate
...
* glm_quat_rotate is better name to rotate transform matrix using quaternion.
* we may use mat4_mulq in the future for another purpose e.g. left multiplication quat with matrix
2018-04-11 10:49:53 +03:00
Recep Aslantas
80d255e6d9
rotate vector using quaternion
2018-04-11 00:47:11 +03:00
Recep Aslantas
5dec68823c
add additional tests and comments to quat tests
2018-04-10 17:41:25 +03:00
Recep Aslantas
4c79fee5d3
quat: additional tests for angle, axis, mul (hamilton product)
2018-04-10 17:16:31 +03:00
Recep Aslantas
9466182c10
quat: create view wmatrix with quaternion helper
2018-04-10 16:01:23 +03:00
Recep Aslantas
6f69da361b
quaternion multiplication
...
* convert quaternion multiplication to xyzw
* previous implementation may be wrong, wikipedia version implemented
* implement SSE version
2018-04-09 23:56:09 +03:00
Recep Aslantas
f0daaca58b
improve matrix to quaternion
2018-04-09 00:46:00 +03:00
Recep Aslantas
257c57d41f
mat4 to quaternion
2018-04-07 19:46:46 +03:00