Recep Aslantas
|
015e859075
|
fix some doc typos & warnings
|
2023-12-30 23:11:15 +03:00 |
|
Recep Aslantas
|
3a2a26e5a4
|
Merge pull request #377 from telephone001/euler_to_quat_lh
|
2023-12-30 21:31:28 +03:00 |
|
John Choi
|
1ccd9af866
|
added comment about rh vs lh zsin
|
2023-12-30 12:06:40 -06:00 |
|
John Choi
|
aa20b8ae7f
|
added implementation of euler_to_quat_lh and fixed the tests. Now I gotta decide what to name the macros for controlling lefthand and also make call functions for rh and lh conditionally declared
|
2023-12-28 11:01:01 -06:00 |
|
John Choi
|
c998d0186a
|
made struct versions of euler to quat. Also fixed up documentation in euler to quat struct.
|
2023-12-28 09:52:17 -06:00 |
|
John Choi
|
a94861dd5d
|
cleaned up documentation for euler to quat functions and also created the lh file. Made a handed struct file so I remember to do that
|
2023-12-28 09:21:05 -06:00 |
|
Recep Aslantas
|
040926999a
|
Merge pull request #369 from telephone001/master
euler to quat functions
|
2023-12-25 10:42:04 +03:00 |
|
Recep Aslantas
|
40cfbe9717
|
Merge pull request #373 from BeeverFeever/master
ivec += and -= functions
|
2023-12-25 10:34:10 +03:00 |
|
John Choi
|
d820410435
|
Merge remote-tracking branch 'refs/remotes/origin/master'
|
2023-12-24 23:59:34 -06:00 |
|
John Choi
|
39c0c1e784
|
added handed folder and also made rh tests for the euler->quat functions. Still deciding on what to name the macro for lefthanded stuff
|
2023-12-24 23:58:29 -06:00 |
|
BeeverFeever
|
921ab6640b
|
Implement -= and += functions for ivecs
|
2023-12-25 12:51:10 +11:00 |
|
BeeverFeever
|
7701a1a789
|
Add int min and max functions
|
2023-12-25 12:50:29 +11:00 |
|
telephone001.mdl
|
46aaf250fa
|
Merge branch 'master' into master
|
2023-12-14 14:19:22 -06:00 |
|
John Choi
|
732a403112
|
changed last parameter to be destination and also removed the euler->mat4->quat test.
|
2023-12-13 08:57:10 -06:00 |
|
Recep Aslantas
|
97575bdcd6
|
fix glmm_fmsub() on arm-neon: https://github.com/recp/cglm/pull/364 thanks to @gottfriedleibniz
|
2023-12-12 11:24:25 +03:00 |
|
BeeverFeever
|
d341478342
|
testing new ivec* funcs
|
2023-12-11 20:18:18 +11:00 |
|
telephone001.mdl
|
e24675c6e0
|
Merge branch 'recp:master' into master
|
2023-12-10 11:38:51 -06:00 |
|
Recep Aslantas
|
2e6e4a9a44
|
Merge branch 'master' of https://github.com/recp/cglm
|
2023-12-10 20:30:52 +03:00 |
|
Recep Aslantas
|
4f88a027bc
|
Merge pull request #364 from BeeverFeever/master
New subtraction family of vector functions
|
2023-12-10 20:29:19 +03:00 |
|
Recep Aslantas
|
673263265b
|
fix glmm_fmsub() on arm-neon
|
2023-12-10 20:28:39 +03:00 |
|
Recep Aslantas
|
dd9235dfee
|
fix glmm_fmsub() on arm-neon
|
2023-12-10 17:13:11 +03:00 |
|
BeeverFeever
|
4c4a69ddfe
|
Should be all
|
2023-12-11 01:08:10 +11:00 |
|
John Choi
|
d6139559b6
|
Merge remote-tracking branch 'refs/remotes/origin/master'
|
2023-12-10 01:19:12 -06:00 |
|
John Choi
|
2eb9a67a3a
|
fixed up the code to fit with the style, Also found out that I was calculating my quaternion rotations the opposite way (zyx order instead of xyz order)
|
2023-12-10 01:16:09 -06:00 |
|
Recep Aslantas
|
8a1d1cf35d
|
fix glmm_fmsub() on arm-neon
|
2023-12-10 10:06:36 +03:00 |
|
telephone001.mdl
|
fee2b7d344
|
Merge branch 'recp:master' into master
|
2023-12-09 23:41:25 -06:00 |
|
BeeverFeever
|
865faad116
|
Fix simd versions
|
2023-12-10 15:49:59 +11:00 |
|
Recep Aslantas
|
75b99ef87d
|
fixes: https://github.com/recp/cglm/issues/371
|
2023-12-09 21:28:53 +03:00 |
|
John Choi
|
036fd4848b
|
moved all my stuff to euler because it fits there better. Also, had to move my tests into a single euler test because it wouldn't work outside that one test. Maybe later I will create test_euler.h like how test_quat.h works
|
2023-12-09 00:38:38 -06:00 |
|
John Choi
|
666d692dfb
|
fixed the bug with the tester. Its weird that the broken tester worked on my computer
|
2023-12-08 23:06:36 -06:00 |
|
John Choi
|
ec3796973e
|
finished but trying to figure out why its not running in wasm
|
2023-12-08 14:15:49 -06:00 |
|
telephone001.mdl
|
45f2fff22f
|
Merge branch 'recp:master' into master
|
2023-12-08 13:09:24 -06:00 |
|
John Choi
|
4ee6aea037
|
made quat struct and also exported it
|
2023-12-08 13:05:53 -06:00 |
|
John Choi
|
2f7dbad6a8
|
finally done with tests and all euler to quaternion functions
|
2023-12-08 12:19:09 -06:00 |
|
Valeri Ochinski
|
23d03ffe6c
|
Fix struct clipspace headers
Add missing includes, fix signatures
|
2023-12-08 10:14:43 +03:00 |
|
John Choi
|
c5694c5c17
|
made all the functions. I have miscalculated some stuff and am currently trying to test them. I have created all the testing functions as well
|
2023-12-08 00:26:33 -06:00 |
|
John Choi
|
d67ac97323
|
got the euler to quat xyz working and got the tests to pass
|
2023-12-07 12:21:55 -06:00 |
|
John Choi
|
05ea35ffec
|
made euler to quat xyz. Now I'm trying to test if it works or not
|
2023-12-07 10:29:07 -06:00 |
|
duarm
|
c431bbf190
|
fix procedure comment on transform
|
2023-12-06 16:54:46 -03:00 |
|
duarm
|
340292c0fb
|
fix transform
|
2023-12-06 16:52:55 -03:00 |
|
duarm
|
2106f9ebcb
|
remove _aabb2d_frustum
|
2023-12-06 16:48:48 -03:00 |
|
duarm
|
c1d78d835b
|
changing from mat4 to mat3
|
2023-12-06 16:34:18 -03:00 |
|
BeeverFeever
|
39602ef4d7
|
Fix vec4 functions
|
2023-12-05 18:49:10 +11:00 |
|
BeeverFeever
|
15f29e05eb
|
Fixed missed function
|
2023-12-04 23:28:29 +11:00 |
|
BeeverFeever
|
7696374f1e
|
Vector subtraction functions
Add subtraction family of functions for vectors.
|
2023-12-04 21:32:19 +11:00 |
|
duarm
|
44d103fa00
|
typos
|
2023-12-03 02:36:04 -03:00 |
|
duarm
|
c29f077bed
|
Merge branch 'master' into aabb2d
|
2023-12-02 21:02:20 -03:00 |
|
duarm
|
2a975a7d0a
|
circle fix, new copy func
|
2023-12-02 21:00:21 -03:00 |
|
myfreeer
|
009405adcd
|
wasm: prefer pmin/pmax
According to [emscripten](https://emscripten.org/docs/porting/simd.html) and [v8](b6520eda5e/src/compiler/backend/x64/code-generator-x64.cc (L2661-L2699) ), `[f32x4|f64x2].[min|max]` compiles to much more instructions than `[f32x4|f64x2].[pmin|pmax]`.
It is defined in [spec](https://github.com/WebAssembly/spec/blob/main/proposals/simd/SIMD.md#floating-point-min-and-max) that the difference between pmin/pmax and min/max is NaN-propagating behavior, and the equivalent to the x86 `_mm_min_ps`/`_mm_max_ps` is pmin/pmax in [v8](b6520eda5e/src/compiler/backend/x64/code-generator-x64.cc (L2740-L2747) ).
This should make functions with min/max faster on webassembly, and align with the existing behavior with x86 sse.
|
2023-12-02 09:54:49 +08:00 |
|
Recep Aslantas
|
1fdc1c8675
|
struct: remove _vec_inv from struct function lists
|
2023-12-01 11:18:48 +03:00 |
|