Recep Aslantas
6183b213e2
suppress sign conversion warnings
2023-06-12 13:56:49 +03:00
Recep Aslantas
16fcaf7fc0
Update types-struct.h
2023-06-08 06:28:40 +03:00
Recep Aslantas
530ec2d0f8
reduce glms_mat[4|3|2]_make()'s dest parameter
...
the return value is the dest.
2023-05-16 14:26:11 +03:00
Recep Aslantas
610788bed1
Merge branch 'master' into bug/test-runner
2023-05-15 21:32:51 +03:00
Vincent Davis Jr
2d6538ecec
io: fix test runner.c implicit declaration glm_arch_print
...
Problem:
../test/runner.c:29:3: error: implicit declaration of function
‘glm_arch_print’ [-Werror=implicit-function-declaration]
29 | glm_arch_print(stderr);
| ^~~~~~~~~~~~~~
| glm_vec2_print
glm_arch_print is not available unless you add the DEBUG macro.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-15 11:30:13 -05:00
Recep Aslantas
31cbd41e3b
Merge pull request #302 from EasyIP2023/feature/glm_mat3_make
...
mat3: add new function glm_mat3_make
2023-05-15 11:18:41 +03:00
Recep Aslantas
c691bc5bc0
Merge pull request #301 from EasyIP2023/feature/glm_mat2_make
...
mat2: add new function glm_mat2_make
2023-05-15 11:18:27 +03:00
Vincent Davis Jr
0566a040c0
mat3: add new function glm_mat3_make
...
Function takes in a 9 element float array
and converts it into a mat3 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:56:25 -05:00
Vincent Davis Jr
e6681e78c8
mat2: add new function glm_mat2_make
...
Function takes in a 4 element float array
and converts it into a mat2 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:30:36 -05:00
Vincent Davis Jr
e17f115f91
mat4: add new function glm_mat4_make
...
Function takes in a 16 element float array
and converts it into a mat4 matrix.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2023-05-14 20:10:48 -05:00
Recep Aslantas
9772948831
improve printing arch name in tests
2023-05-06 16:28:52 +03:00
Recep Aslantas
988dd13d61
make GLM_TESTS_NO_COLORFUL_OUTPUT work on non-test print colors too
2023-05-06 15:36:41 +03:00
Recep Aslantas
ed09fb5819
fix glm_arch_print_name and print it on tests
2023-05-06 14:58:45 +03:00
Recep Aslantas
c4a348ac71
now working on v0.9.1
2023-05-02 08:22:18 +03:00
myfreeer
6b2c91ecf7
wasm: replace usage of -0.f to 0x80000000
...
Part of https://github.com/recp/cglm/pull/291
2023-04-22 10:50:54 +08:00
Recep Aslantas
a4b8778be9
fixes for "simd, sse: use 0x80000000 insteaf of -0.f to fix fastmath on msvc"
2023-04-21 22:42:04 +03:00
Recep Aslantas
5ce7dff812
Merge remote-tracking branch 'origin/master' into fix-simd-signmask
2023-04-21 22:31:55 +03:00
Recep Aslantas
17b3911e7c
fix struct api calls
2023-04-21 21:20:11 +03:00
Recep Aslantas
7307b1cbbe
simd, sse: use 0x80000000 insteaf of -0.f to fix fastmath on msvc
2023-04-21 20:36:50 +03:00
Recep Aslantas
391d8670c2
simd, sse: use 0x80000000 insteaf of -0.f to fix fastmath on msvc
2023-04-21 20:14:58 +03:00
Recep Aslantas
8d441902c0
fix struct api calls
2023-04-21 20:07:14 +03:00
Recep Aslantas
490d0bb9a1
Merge pull request #290 from recp/structapi-conf
...
struct: provide option to omit struct api namespace e.g. `glms_` and …
2023-04-21 17:38:22 +03:00
myfreeer
81b7c90271
simd128: simplify calls
2023-04-15 22:06:04 +08:00
Recep Aslantas
c221f8883a
struct: provide option to omit struct api namespace e.g. glms_
and an …
2023-04-09 17:20:38 +03:00
Recep Aslantas
ea8ef4a3c9
struct: provide option to omit struct api namespace e.g. glms_
and an option to add s
suffix e.g. mat4s_mul if preferred
2023-04-09 14:28:05 +03:00
myfreeer
765771227a
io: add case of wasm simd128
2023-04-08 18:28:49 +08:00
myfreeer
2614a1805d
Merge remote-tracking branch 'upstream/master'
2023-04-08 13:41:53 +08:00
myfreeer
d7c0edcbd9
simd128: minor lint
2023-04-08 13:40:46 +08:00
Recep Aslantas
0b3049dca0
utility to print selected simd path (docs)
2023-04-08 01:03:31 +03:00
Recep Aslantas
a542d54fca
utility to print selected simd path
2023-04-08 00:59:06 +03:00
myfreeer
3a9e4df393
simd128: handle both sse2 and simd128 enabled by Emscripten
...
https://github.com/recp/cglm/pull/286#issuecomment-1492985403
2023-04-02 12:39:20 +08:00
myfreeer
7ca9a64ecf
simd128: code style
2023-04-01 19:38:57 +08:00
myfreeer
51ce4db82e
simd128: code style
2023-04-01 19:38:28 +08:00
myfreeer
73adfe08c0
simd128: inline _mm_cvtss_f32
2023-04-01 19:34:19 +08:00
myfreeer
48d6ab79bd
simd128: inline _mm_movehl_ps
2023-04-01 19:28:45 +08:00
myfreeer
e40b477929
simd128: inline _mm_movelh_ps
2023-04-01 19:19:49 +08:00
myfreeer
5e05eec6d6
simd128: inline _MM_TRANSPOSE4_PS
2023-04-01 19:03:48 +08:00
myfreeer
3aca10ecda
simd128: minor lint
2023-03-29 20:41:47 +08:00
myfreeer
5c7cd42407
simd128: inline _mm_sqrt_ss
2023-03-29 20:22:03 +08:00
myfreeer
e27f80b0bb
simd128: inline _mm_rcp_ps
2023-03-29 20:16:16 +08:00
myfreeer
3845345f4c
simd128: inline _mm_storeu_ps and _mm_store_ss
2023-03-29 20:12:51 +08:00
myfreeer
998d9626a2
simd128: inline _mm_unpackhi_ps and _mm_unpacklo_ps
2023-03-26 19:34:08 +08:00
myfreeer
84b482971d
simd128: inline _mm_shuffle_ps
2023-03-26 19:34:08 +08:00
myfreeer
f24ec41a26
simd128: inline _mm_shuffle_ps for glmm_shuff1
2023-03-26 19:34:08 +08:00
myfreeer
e62b782039
simd128: fix a const in glm_mat4_inv_fast_wasm
...
making it the same as glm_mat4_inv_wasm, does not make any difference in tests
2023-03-26 19:34:08 +08:00
myfreeer
be76d96e8f
simd128: inline _mm_set_ps
2023-03-26 19:34:07 +08:00
myfreeer
03c7bee863
simd128: inline some functions
2023-03-26 19:34:07 +08:00
myfreeer
71c585b159
simd128: enable in headers
2023-03-26 19:34:07 +08:00
myfreeer
6b7a63953c
simd128: enable in mat2
2023-03-26 19:34:07 +08:00
myfreeer
fdef58bd1a
simd128: enable in mat3
2023-03-26 19:34:07 +08:00