Recep Aslantas
0ed88cfda8
test: fix running test on windows (msvc)
2019-09-14 12:46:04 +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
Recep Aslantas
1fdd459733
add tests for vector swizzling, rename vec to vec3
2019-06-06 13:12:17 +03:00
Alejandro Coto Gutiérrez
f04078dc33
Merge branch 'master' into cglm-structs
2019-04-30 14:58:02 -05:00
Wasin Thonkaew
5b80e0e3c2
test cases for glm_vec4_distance
2019-04-19 03:04:00 +08:00
acoto87
c25469829a
Initial implementation of struct type vec4s
2019-04-03 22:25:49 -06:00
Recep Aslantas
59aacee968
optimize clamp for vec4
2018-04-14 12:49:37 +03:00
Recep Aslantas
429aff087f
optimize min and max for vec4
2018-04-14 11:35:28 +03:00
Recep Aslantas
c05f58a169
vec: add addadd, subadd and muladd helpers
2018-04-13 15:46:43 +03:00
Recep Aslantas
d841f8809d
vec: add some new functions for vector
...
* _mul: multiply two vector (replacement for _mulv)
* _div: div two vector
* _divs: div vector with scalar
* adds: add scalar to each components of vec
* subs: sub scalar from each components of vec
2018-04-13 15:12:56 +03:00
Recep Aslantas
25fc3d0284
vec: add one and zero helpers for vectors
2018-04-13 11:57:14 +03:00
Recep Aslantas
79f8b1ebf8
vec4: optimize vec4 norm and norm2
2018-04-13 11:18:42 +03:00
Recep Aslantas
0eb37da8bb
vec4: optimize vec4 normalize with SIMD
2018-04-13 11:01:07 +03:00
Recep Aslantas
e4e0fa623c
sse2 version of vec4 dot product
...
* use this for normalizing vector
2018-04-08 18:27:54 +03:00