Commit Graph
100 Commits
Author SHA1 Message Date
Recep Aslantas c4b45a0917 remove redundant comments 2022-10-23 14:22:16 +03:00
Recep Aslantas 8034073965 Merge pull request #260 from recp/new-affine
new affine transform functions 🚀
2022-10-23 14:06:34 +03:00
Recep Aslantas 53009d69c0 update build files 2022-10-23 12:09:44 +03:00
Recep Aslantas 7c62ad965b add missing call functions 2022-10-23 12:08:37 +03:00
Recep Aslantas 878e829767 update docs 2022-10-23 12:00:17 +03:00
Recep Aslantas 7c7ac8b82e add missing impl for project_z 2022-10-22 23:06:46 +03:00
Recep Aslantas ba66459708 new project function for projecting Z
someitmes we need to project z only. this function reduces a few calculations and parameters.
2022-10-21 10:20:03 +03:00
Recep Aslantas 45e176680f post rotation operaqtions 2022-10-18 15:43:07 +03:00
Recep Aslantas c0bd65027a add missing spin impl 2022-10-18 07:38:06 +03:00
Recep Aslantas 03d5699f32 new rotation function: spin; rotate around self at any position 2022-10-17 23:57:41 +03:00
Recep Aslantas 199d1fa031 Merge pull request #259 from bobvanderlinden/pr-cmake-pkgconfig-fix
fix: simplified pkgconfig generation
2022-09-20 16:38:48 +03:00
Recep Aslantas a3186a7f32 Merge pull request #257 from Rokannon/patch-1
Added missing include in io.h which adds GLM_MAX macro
2022-09-11 11:33:46 +03:00
Recep Aslantas 51853db559 Merge pull request #256 from ogtn/master
Fix typo in comment
2022-09-04 07:25:27 +03:00
Recep Aslantas 2238fd127c win: suppress warnings for tests 2022-08-23 18:01:05 +03:00
Recep Aslantas 073a11a6b8 win: add missing files to visual studio project 2022-08-23 16:01:40 +03:00
Recep Aslantas 2d348ceba0 build: add missing files to meson and cmake lists 2022-08-23 15:43:04 +03:00
Recep Aslantas ce69ecaa5a struct: project_no and project_zo apis for struct api 2022-08-23 15:31:55 +03:00
Recep Aslantas 5ad0f1c6f3 fix MIT License links 2022-08-23 15:30:09 +03:00
Recep Aslantas aea75bbe7c build: update Makefile.am 2022-08-23 14:13:00 +03:00
Recep Aslantas 7dfe67cdde Update .gitignore 2022-08-07 11:49:13 +03:00
Recep Aslantas 84f64a5b65 Update FUNDING.yml 2022-08-01 05:10:14 +03:00
Recep Aslantas 7df8ffa7fe Merge pull request #254 from Chris-F5/fix-readme-notes
Update README to show that integer types are supported
2022-07-16 12:01:00 +03:00
Recep Aslantas 63990be905 Merge pull request #251 from Chris-F5/add-basic-ivec-functions
Add basic ivec functions
2022-05-22 21:06:07 +03:00
Recep Aslantas 1b217c3dd0 Merge pull request #250 from alexshpilkin/fix-pkg-config
Fix pkg-config generation when CMAKE_INSTALL_*DIR is absolute
2022-05-19 22:23:10 +03:00
Recep Aslantas aee47ce545 Merge pull request #247 from Chris-F5/improve-docs-index
Fix grammatical errors in docs index
2022-05-12 07:11:38 +03:00
Recep Aslantas cf7f4231f0 now working on v0.8.6 2022-03-20 22:19:31 +03:00
Recep Aslantas 7e5d1f435f Merge pull request #244 from geckor14/master
Remove unused variable
2022-03-18 12:39:29 +03:00
Recep Aslantas 6fa1cefcc2 Merge pull request #243 from Sand3r-/patch-1
Fix a bug in glm_lookat_lh
2022-03-09 09:38:26 +03:00
Recep Aslantas 2a4748d452 fix glm_pickmatrix()'s param type 2022-01-31 02:56:39 +03:00
Recep Aslantas f20bf0aaaf Merge pull request #236 from recp/ivec
add missing ivec types
2022-01-07 00:23:32 +03:00
Recep Aslantas 3a141b7cc8 extend unions for struct api 2022-01-06 18:12:46 +03:00
Recep Aslantas 5cd1a4ab44 add missing ivec types 2022-01-06 18:01:35 +03:00
Recep Aslantas 897f2afd88 Merge pull request #234 from madebr/sse3_header
Header containing sse3 intrinsics is pmmintrin.h
2021-12-31 17:51:30 +03:00
Recep Aslantas 282ea84dc0 Merge pull request #231 from omar-polo/master
set PACKAGE_VERSION so it gets substituted in cglm.pc.in by cmake
2021-11-22 11:20:20 +03:00
Recep Aslantas 87f561fb06 Merge pull request #229 from mxi/vec2-ext-complex
Add complex routines to `vec2-ext`
2021-11-10 10:09:09 +03:00
Recep Aslantas bde653b607 Update CMakeLists.txt 2021-10-28 19:10:19 +03:00
Recep Aslantas ede72ca412 Merge pull request #225 from podsvirov/fix-win32-shared
win: fix shared library name and destination
2021-10-17 18:09:18 +03:00
Recep Aslantas 82d1050c63 update GLM_FLT_EPSILON to use 1e-5 instead of 1e-6 2021-10-06 21:08:55 +03:00
Recep Aslantas 0631598d08 now working on v0.8.5 2021-08-18 05:03:59 +03:00
Recep Aslantas 34e5704fe8 bump version to v0.8.4 2021-08-18 04:47:11 +03:00
Recep Aslantas 672523e5af Merge pull request #219 from recp/project_zo
extend glm_project() to support ZERO_TO_ONE
2021-08-16 16:55:19 +03:00
Recep Aslantas 8427d02a9b pick matrix helper (aka gluPickMatrix) 2021-08-16 16:53:46 +03:00
Recep Aslantas a2bd00df32 fix including headers, and suppress warnings 2021-08-16 15:51:52 +03:00
Recep Aslantas 4c8f7f310c Update project_zo.h 2021-08-16 14:27:20 +03:00
Recep Aslantas 9096fa6bab fix include paths 2021-08-16 14:27:12 +03:00
Recep Aslantas 29c3837672 implement project zo 2021-08-16 14:16:43 +03:00
Recep Aslantas 4530e0381b build: add missing files 2021-08-16 01:10:29 +03:00
Recep Aslantas 6cf1fb8992 Update .gitignore 2021-08-16 01:10:19 +03:00
Recep Aslantas 9ed4e41afd call version for clipspace-project 2021-08-16 01:08:11 +03:00
Recep Aslantas 28d24da6df build: add missing files 2021-08-16 00:55:19 +03:00
Recep Aslantas ef22e2063f win: fix build error and comment style 2021-08-16 00:54:37 +03:00
Recep Aslantas 5a48aad1b0 Merge pull request #218 from Nairou/master
Add CGLM_FORCE_DEPTH_ZERO_TO_ONE support to glm_unprojecti
2021-08-16 00:45:22 +03:00
Recep Aslantas abbeb274c5 Merge pull request #214 from bubba2k/patch-1
Note that radians is expected in glm_perspective()
2021-08-09 10:54:02 +03:00
Recep Aslantas 8b958e9600 Merge pull request #209 from legends2k/fix_vec3_cross
Fix cross product when an operand is also dest
2021-06-10 16:49:17 +03:00
Recep Aslantas 479e7d4240 Merge pull request #207 from legends2k/fix_vec3_ortho
Fix vec3_ortho
2021-06-10 10:15:12 +03:00
Recep Aslantas afdcae08dd Merge pull request #205 from legends2k/master
Include affine.h in quat.h; remove needless decls
2021-06-07 11:45:54 +03:00
Recep Aslantas 4d2ba464a0 Update README.md 2021-05-30 18:11:17 +03:00
Recep Aslantas 398e47070b Update README.md 2021-05-30 18:09:17 +03:00
Recep Aslantas 619ac4ce9a Update README.md 2021-05-30 18:03:33 +03:00
Recep Aslantas e83940f3b1 Create cglm.png 2021-05-30 17:48:29 +03:00
Recep Aslantas e5d88f22a0 Update README.md 2021-05-30 15:31:06 +03:00
Recep Aslantas 8e10ab2b49 Update features.rst 2021-05-30 15:30:55 +03:00
Recep Aslantas 4ede0815d4 Update features.rst 2021-05-30 15:28:38 +03:00
Recep Aslantas 7d16e3583f Merge branch 'master' of https://github.com/recp/cglm 2021-05-30 15:23:38 +03:00
Recep Aslantas 6011baff06 Update opt.rst 2021-05-30 15:23:30 +03:00
Recep Aslantas af92df4e84 ci: migrate cglm from tavis-ci.org to travis-ci.com 2021-05-30 15:17:33 +03:00
Recep Aslantas 94381d3067 struct: fix glms_perspective_resize
since struct param is copy-by-value, result was noop
2021-05-30 13:06:49 +03:00
Recep Aslantas 0e794f8f8f struct: fix glms_persp_move_far
since struct param is copy-by-value, result was noop
2021-05-30 13:02:10 +03:00
Recep Aslantas b895e424b0 docs: add docs about clipspace configuration 2021-05-30 12:53:04 +03:00
Recep Aslantas a2b8858e36 win: suppress warnings 2021-05-30 12:50:30 +03:00
Recep Aslantas 9d08407897 win: suppress warnings 2021-05-30 12:46:26 +03:00
Recep Aslantas 8898c3b471 win: add missing files to build 2021-05-30 12:43:17 +03:00
Recep Aslantas f0c2860179 Merge pull request #203 from bwhmather/meson-fixes
Update lists of source files in meson.build
2021-05-29 14:31:41 +03:00
Recep Aslantas 086b40bf6a Merge pull request #201 from hartenfels/master
Add struct clipspace files to autoconf build
2021-05-24 22:31:33 +03:00
Recep Aslantas 9ac291c673 Merge pull request #198 from raedwulf/clipspace
Clipspace implementations for left/righted-handed coordinate systems and [-1,1] and [0,1] clipspace
2021-05-23 18:59:01 +03:00
Recep Aslantas a242d83805 style: rename nearVal, farVal to nearZ and farZ 2021-05-08 22:42:44 +03:00
Recep Aslantas 7760c709da build, meson: add so version to meson build 2021-05-08 15:44:14 +03:00
Recep Aslantas 919e3bcf4a Merge pull request #193 from recp/simd-3
SIMD and ILP Update
2021-05-08 14:14:22 +03:00
Recep Aslantas 607182982d Merge branch 'master' into simd-3 2021-05-07 14:08:56 +03:00
Recep Aslantas ad17f38934 Merge pull request #195 from legends2k/master
Add nlerp for quaternions
2021-05-07 12:58:05 +03:00
Recep Aslantas 5c22ca3abb arrm, neon: use negate instruction instead of xor in glm_inv_tr_neon() 2021-05-07 01:52:12 +03:00
Recep Aslantas 7f9585ca72 arrm, neon: impove hadd performance 2021-05-07 01:46:24 +03:00
Recep Aslantas d0ab3aaa2e arm, neon: util macros 2021-05-07 01:46:03 +03:00
Recep Aslantas 28705be5a3 simd, sse: reduce some computation at glm_mul_rot_sse2() 2021-05-01 23:16:03 +03:00
Recep Aslantas e1b142bce7 add todo to quat.h 2021-05-01 23:03:41 +03:00
Recep Aslantas 0f96eaad20 sse2: optimize glm_mat3_mul_sse2() with sse2
* reduce memory access for dest[2][2]
* the speed is increased ;)
2021-05-01 22:55:19 +03:00
Recep Aslantas d5d3178ae0 Merge pull request #192 from Winter091/fixing-typo
fix typo: vec3 -> vec4
2021-05-01 21:24:31 +03:00
Recep Aslantas faf6186c29 sse: optimize glm_mat2_mul_sse2 with sse 2021-05-01 03:44:04 +03:00
Recep Aslantas 2be6ac949b sse: optimize glm_quat_mul with sse 2021-05-01 03:18:26 +03:00
Recep Aslantas 5b7bc522ac sse: optimize affine with sse
* re-oder instructions for ILP
2021-05-01 02:58:14 +03:00
Recep Aslantas 376cf31ee7 armi neon: optimize affine with neon 2021-05-01 02:46:14 +03:00
Recep Aslantas d28b381dd6 armi neon: optimize mat4 mul with neon 2021-05-01 02:45:15 +03:00
Recep Aslantas 3673622cc3 simd, sse: optimize mat4 mul-v with sse
* re-oder instructions for ILP
2021-05-01 02:17:34 +03:00
Recep Aslantas a90f706e12 simd, sse: optimize mat4 mul with sse
* re-oder instructions for ILP
2021-05-01 02:17:08 +03:00
Recep Aslantas c065d71a2f simd, sse: optimize mat4 inv with sse
* reduce a few shufflees
* re-oder instructions for ILP
2021-04-30 21:12:17 +03:00
Recep Aslantas 1b3b91fe0b Merge pull request #191 from quadroli/master
very minor correction in readme
2021-04-30 20:35:15 +03:00
Recep Aslantas ba634d6c83 simd: optimize glm_mat4_zero() with simd 2021-04-30 04:04:27 +03:00
Recep Aslantas f35badd436 now working on v0.8.3 2021-04-30 01:00:42 +03:00
Recep Aslantas 04eaf9c535 arm, neon: neon/fma support for glm_quat_mul() 2021-04-29 01:12:00 +03:00
Recep Aslantas bd6641bd0a build: add missing files to build files 2021-04-28 22:45:03 +03:00