Recep Aslantas
Recep Aslantas
Hi @Memz-idk, I've just tried on ARM64 Windows VM + MSYS MinGW it worked with no issues, will try on Intel Windows too asap, maybe there are some issues about...
Hi @badasahog, What about flipping `cameraUp` for instance `{1,0,0}` to `{-1,0,0}`? **glm_vec4_negate()** will simply flip the vector. `glm_mirror_x(view)`, `glm_mirror_y(view)`, `glm_mirror_z(view)`, `glm_mirror(vec, view, dest)` could also help to flip existing **view**...
> would it be possible to introduce functions (or something else, e.g., a build option) that assume these 'axis' or 'direction' parameters are already normalized. Actually that would be nice,...
@gottfriedleibniz nice suggestion thanks, To avoid mul overhead ( if there is no special optimization for -1 ), it would be nice to do that without mul as your implementations...
Thanks, > Although, I wouldn't be surprised if the scalar equivalent is faster or as-fast on ARM64 (and maybe ARMv7). Some timing here would be nice, but can be done...
Hi @823639792 Sorry for the delay, I’ll investigate this asap, libcglm.a can be used link to existing wasm executable but it seems you need wasm to use with js, an...
@myfreeer many thanks for the point and benchmark. It seems wasm and simd version are similar ( more or less ), but may not reflect all operations due to auto...
@myfreeer Wow, thanks! It would be nice to improve and optimize `slerp` and any other trig functions in **cglm**, implementing simd here (slerp) is also in TODOs now. For this...
Hi @badasahog, In `test/tests.h` file, `TEST_DECLARE(glm_camera_lookat)` declares `test_glm_camera_lookat()` and `TEST_ENTRY(glm_camera_lookat)` in same file add its to test list. In `test/src/test_cam.h` file, `TEST_IMPL(GLM_PREFIX, camera_lookat) { ` defines the test function body....
Also you can use both **LH** and **RH** by including (or define **CGLM_CLIPSPACE_INCLUDE_ALL** to include all) related headers at `cglm/clipspace/view_lh.h`, `cglm/clipspace/view_rh.h`, `cglm/clipspace/view_lh_zo.h`, `cglm/clipspace/view_no.h`... or just define `CGLM_CONFIG_CLIP_CONTROL` macro as `CGLM_CLIP_CONTROL_LH_ZO`,...