Recep Aslantas
b2084fbacf
tests: add some tests for quat
2019-09-25 07:42:29 +03:00
Recep Aslantas
51ffe09589
tests: use test_eq insteaf og glm_eq
2019-09-22 22:27:05 +03:00
Recep Aslantas
a328317c70
Merge branch 'master' of https://github.com/recp/cglm
2019-09-13 09:42:48 +03:00
Recep Aslantas
5aa047efdf
tests: run tests on windows
2019-09-13 09:40:18 +03:00
Recep Aslantas
32e5784564
test: improve runner output and add assert helper for inline functions
2019-09-12 23:54:24 +03:00
Recep Aslantas
9ab9e95ce5
Custom Built-in Unit Test Suite ( #105 )
...
* tests: new built-in test runner
* tests: update tests for new builtin test api
* tests: print test suite logs
* tests: remove cmocka from build files
* tests: colorize test suite log and remove redundant prints
2019-09-12 06:56:44 +03:00
acoto87
c25469829a
Initial implementation of struct type vec4s
2019-04-03 22:25:49 -06:00
Recep Aslantas
92605f845a
test: fix comparing two float values in tests
2018-12-05 16:34:22 +03:00
Recep Aslantas
0b8c63a90e
vec: rename glm_vec_ namespace to glm_vec3_
2018-11-28 23:22:30 +03:00
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