Bruce Mitchener
068f6951b3
Reduce typo count.
2024-07-14 09:10:19 +07:00
Recep Aslantas
ed731f991d
Merge pull request #421 from myfreeer/patch-1
...
mat4: wasm simd128 for glm_mat4_inv
2024-07-03 17:06:53 +03:00
myfreeer
07dc9520a4
mat4: wasm simd128 for glm_mat4_inv
...
The function `glm_mat4_inv_wasm` has been implemented, but not used in `glm_mat4_inv`. This commit adds a conditional macro to add the case of wasm and simd128 case for calling `glm_mat4_inv_wasm`.
2024-07-03 20:04:50 +08:00
Recep Aslantas
be0defb7ac
Merge pull request #420 from not-kaz/master
...
Fixed 'missing-prototypes' warnings for some vec2 funcs.
2024-06-11 14:52:02 +03:00
Kaz
5b2c37f73b
Fixed 'missing-prototypes' warnings for some vec2 funcs.
...
Using gcc and missing-prototypes flag shows warnings for:
glmc_vec2_fill, glmc_vec2_eq and glmc_vec2_eqv.
Seems they were not added to call/vec2.h for some reason. This should fix the warnings.
2024-06-09 11:06:18 +02:00
Recep Aslantas
a93a9ef9a2
Merge pull request #416 from telephone001/quat_slerp_longest
...
added quat_slerp_longest
2024-05-13 17:26:49 +03:00
Recep Aslantas
c5b2afc1c4
Update quat.h
2024-05-13 17:20:28 +03:00
John Choi
cd5ed1f4c4
added quat_slerp_longest
2024-05-10 22:32:25 -05:00
Recep Aslantas
eb3a51e591
win: suppress C4996; use snprintf() instead of sprintf()
2024-04-22 21:33:31 +03:00
Recep Aslantas
44cd0ae4fd
avx: optimize avx mat4 scale and mat4 mul
2024-04-13 00:33:57 +03:00
Recep Aslantas
d75467f93f
avx: implement transpose with AVX
2024-04-13 00:12:14 +03:00
Recep Aslantas
45c1beff51
simd: fix glmm_set1, glmm_splat
2024-04-12 21:53:20 +03:00
Recep Aslantas
14c567d9d9
sse: drop unused macros: glmm_shuff1x, glmm_shuff2
2024-04-11 21:57:46 +03:00
Recep Aslantas
480e1de048
sse: make use of int domain as default behavior if possible ( compiler may ignore it )
...
also use AVX's `_mm_permute_ps`for shuffling single vector
2024-04-11 21:57:16 +03:00
Recep Aslantas
de66f0a67f
glmm, avx: optimize splat macros
2024-04-10 23:49:18 +03:00
Recep Aslantas
68bdec4510
simd: use glmm_set1() to optimize broadcasting single float
2024-04-10 22:52:53 +03:00
Recep Aslantas
62c0448e25
simd, msvc: ensure required definitions are exist on msvc
2024-04-07 22:48:11 +03:00
Recep Aslantas
4f00ce0e52
sse: reduce some instructions in mat4 inv
2024-04-07 22:33:37 +03:00
Recep Aslantas
a7845ffc44
msvc, simd: fix simd headers for _M_ARM64EC
2024-04-07 00:54:29 +03:00
Recep Aslantas
bd941ed7fb
arm, neon: fix neon support on GCC ARM
2024-04-06 14:23:36 +03:00
Recep Aslantas
87350f809b
msvc bug: dont align types due to "ARM32 = C2719: formal parameter with requested alignment of 16 won't be aligned." on ARM32/MSVC
...
until a good solution.
2024-04-06 14:11:46 +03:00
Recep Aslantas
f50a7a7d00
arm, neon: improve glm_mat4_inv_neon
2024-04-06 14:10:13 +03:00
Recep Aslantas
b3308af146
arm: fix glmm_vhadd on ARM32
2024-04-06 14:09:52 +03:00
Recep Aslantas
a94f839d6d
Merge branch 'master' into optimize-inv
2024-04-04 00:31:08 +03:00
Recep Aslantas
0ff0e8948f
Update mat4.h
2024-04-03 00:05:42 +03:00
Recep Aslantas
5b772d0eb4
neon: mat4_inv, reduce 1mul for two extra 2xor
2024-04-03 00:03:55 +03:00
Recep Aslantas
c528ca1095
neon: mat4_inv remastered
2024-04-02 13:21:49 +03:00
Recep Aslantas
f0e09776d7
arm, neon: optimize glmm_vhadd and add glmm_vdot
2024-04-02 02:36:16 +03:00
Recep Aslantas
da4224ba32
now working on v0.9.5
2024-04-02 00:52:54 +03:00
Recep Aslantas
1796cc5ce2
Merge pull request #412 from recp/sse_only
...
separate SSE and SSE2
v0.9.4
2024-04-01 17:52:06 +03:00
Recep Aslantas
568634a79e
tests: dont test isinf == true on fast math
2024-04-01 16:48:58 +03:00
Recep Aslantas
c9c7941a72
tests: dont test isnan on fast math
2024-04-01 14:10:38 +03:00
Recep Aslantas
4e929a81c2
Update x86.h
2024-04-01 13:26:08 +03:00
Recep Aslantas
1d09c41e18
make xor enable in SSEonly + fast math
2024-04-01 13:23:52 +03:00
Recep Aslantas
d8e933b5b1
Update test_project.h
2024-04-01 13:23:22 +03:00
Recep Aslantas
8b15fd51ba
common way to identify CGLM_FAST_MATH
2024-04-01 13:23:17 +03:00
Recep Aslantas
9ce0a3b625
tests: disable isnan check for min/max which may not work correctly especially in fast-math environment
2024-04-01 13:22:51 +03:00
Recep Aslantas
00d2e8a4cf
suppress warnings
2024-04-01 01:46:25 +03:00
Recep Aslantas
35a12ed033
make SSE2-only features not available in SSE
2024-04-01 00:52:59 +03:00
Recep Aslantas
9ad7dd3fbc
Merge pull request #409 from EasyIP2023/feature/expand-content-width
...
docs: expand wy-nav-content width to edge of screen
2024-03-31 23:44:40 +03:00
Recep Aslantas
28142b5912
Merge pull request #411 from EasyIP2023/bugfix/mat4x3-multiplication
...
mat4x3: fix multiplication functions
2024-03-31 23:44:00 +03:00
Recep Aslantas
f07d75c680
Merge pull request #410 from EasyIP2023/bugfix/mat4x2-multiplication
...
mat4x2: fix multiplication functions
2024-03-31 23:43:11 +03:00
Recep Aslantas
17d8b83a38
Merge pull request #408 from EasyIP2023/bugfix/mat3x4-multiplication
...
mat3x4: fix multiplication functions
2024-03-31 23:41:40 +03:00
Recep Aslantas
32a477ef07
separate SSE and SSE2
2024-03-31 23:35:15 +03:00
Recep Aslantas
e3ed9834a1
Update mat2x3.h
2024-03-31 23:06:50 +03:00
Recep Aslantas
8396bbf0b3
coding style
2024-03-31 23:06:30 +03:00
Vincent Davis Jr
013ac5dd07
docs: mat4x3 account for latest mulitplication changes
...
This also includes tables to explain how
mat4x3, column vectors, and row vectors are
represented. Also includes how resulting
matrix or vector is formed.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2024-03-31 14:43:31 -04:00
Vincent Davis Jr
a0e3d3766f
mat4x3: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2024-03-31 14:43:30 -04:00
Vincent Davis Jr
fc7f0e13fd
docs: mat3x4 account for latest mulitplication changes
...
This also includes tables to explain how
mat3x4, column vectors, and row vectors are
represented. Also includes how resulting
matrix or vector is formed.
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2024-03-31 13:43:41 -04:00
Vincent Davis Jr
1340b5d512
mat3x4: fix multiplication functions
...
Signed-off-by: Vincent Davis Jr <vince@underview.tech >
2024-03-31 13:43:39 -04:00