Commit Graph
100 Commits
Author SHA1 Message Date
Recep Aslantas 26a638e11d io: make print functions macro to supress unused parameter warrnings 2020-05-03 14:10:24 +03:00
Recep Aslantas 099522ada3 fix LICENSE alignments 2020-05-02 22:32:57 +03:00
Recep Aslantas 4903dd62ea now working on v0.7.4 2020-05-02 22:32:53 +03:00
Recep Aslantas 95161f7776 Merge pull request #140 from recp/print-io
Print Improvements
2020-05-01 01:12:16 +03:00
Recep Aslantas f0942c13a1 remove redundant typedef. 2020-05-01 01:07:18 +03:00
Recep Aslantas 8eddeb77d0 win: fix print function for _DEBUG and supress warnings 2020-05-01 01:03:20 +03:00
Recep Aslantas cbed29820b ios: update docs for prints 2020-04-30 23:49:38 +03:00
Recep Aslantas 3ec6bad5b3 io: open library-called print functions 2020-04-30 23:40:21 +03:00
Recep Aslantas fefc3dc32d io: print has been maden optional to DEBUG or to CGLM_DEFINE_PRINTS 2020-04-30 23:38:27 +03:00
Recep Aslantas 203d40208c io: new way to print items
* now mis-alignment of columns are fixed: larger numbers are printed via %g and others are printed via %f. Column withs are calculated before print.

* Now values are colorful ;)
* Some print improvements
2020-04-30 23:37:51 +03:00
Recep Aslantas c45445c613 suppress documentation warnings 2020-04-30 10:15:55 +03:00
Recep Aslantas 73c6766806 Update .gitignore 2020-04-30 10:14:12 +03:00
Recep Aslantas 65dff25ed5 build: add version info to cmake 2020-04-28 00:33:29 +03:00
Recep Aslantas c2584c0fe6 now working on v0.7.3 2020-04-28 00:20:04 +03:00
Recep Aslantas bd951f96be Update cglm.podspec 2020-04-28 00:18:15 +03:00
Recep Aslantas 1200372ced vscode settings 2020-04-28 00:04:24 +03:00
Recep Aslantas 75a5ca153d Merge branch 'master' of https://github.com/recp/cglm 2020-04-27 22:46:22 +03:00
Recep Aslantas 5a9593d9bc update docs 2020-04-27 22:30:52 +03:00
Recep Aslantas edf46aaf2b Update README.md 2020-04-27 22:26:29 +03:00
Recep Aslantas e2ba795603 Update README.md 2020-04-27 22:25:36 +03:00
Recep Aslantas 5e6b566d6a Update CMakeLists.txt 2020-04-27 13:43:08 +03:00
Recep Aslantas 010dda6a77 Merge pull request #130 from FMMazur/cmake
Cmake: Integratrion
2020-04-26 14:59:55 +03:00
Recep Aslantas 345c7307ef Merge branch 'master' into cmake 2020-04-26 14:34:34 +03:00
Recep Aslantas f485c928b1 Merge pull request #136 from Uwila/documentation-fix
Fix some documentation mistakes
2020-04-13 21:13:47 +03:00
Recep Aslantas 5c35c4ef5d Merge pull request #134 from Uwila/patch-1
Link contributors' avatars to the correct page
2020-04-07 22:47:26 +03:00
Recep Aslantas e40373a1fa Merge pull request #132 from Uwila/ray-tests
* tests: add tests for glm_ray_triangle
2020-04-06 16:44:35 +03:00
Recep Aslantas e60e7b5750 Merge pull request #131 from Uwila/ray-triangle-intersection
feature: ray-triangle intersection
2020-04-04 00:33:45 +03:00
Recep Aslantas 2fc51c67a3 Update version.rst 2020-03-19 12:58:48 +03:00
Recep Aslantas 34753546f2 Update version.rst 2020-03-19 12:55:49 +03:00
Recep Aslantas 1711db4fef Update util.rst 2020-03-19 12:54:57 +03:00
Recep Aslantas 373b8d216a Update version.rst 2020-03-19 12:53:54 +03:00
Recep Aslantas 7f9487fd62 docs: update documentation 2020-03-19 12:51:05 +03:00
Recep Aslantas 686deb8eb1 util: use glm_clamp_zo to clamp between 0 and 1 2020-03-19 12:37:52 +03:00
Recep Aslantas fabc655919 Merge branch 'master' of https://github.com/recp/cglm 2020-03-06 23:33:30 +03:00
Recep Aslantas 7eada03909 reemove redundant forward declerations 2020-03-06 23:33:27 +03:00
Recep Aslantas b3a464bf89 now working on v0.7.2 2020-03-04 11:51:05 +03:00
Recep Aslantas 69b5584f11 build: add missing headers 2020-03-02 10:09:48 +03:00
Recep Aslantas 00523f0b89 helper to swap two float values 2020-03-01 12:56:11 +03:00
Recep Aslantas 31f313caff now working on v0.7.1 2020-02-29 14:00:50 +03:00
Recep Aslantas 010b88ee7a set version to v0.7.0 for vec2/mat2 release 2020-02-25 22:13:25 +03:00
Recep Aslantas 702da626f1 docs: add documentation for vec2 and mat2 2020-02-25 22:11:10 +03:00
Recep Aslantas 8e008511f4 Merge pull request #97 from recp/vec2_mat2
vec2 and mat2 support
2020-02-25 14:54:22 +03:00
Recep Aslantas eb0d47cfa1 vec2: add struct version for vec2 and vec2-ext 2020-02-25 14:34:11 +03:00
Recep Aslantas 638b9f6dbe fix 'function declaration isn’t a prototype' 2020-02-24 23:11:03 +03:00
Recep Aslantas ab20ebc28c build: add vec2 and mat2 files 2020-02-24 22:22:27 +03:00
Recep Aslantas 701a95583a vec2: fix memory access error[s] 2020-02-24 22:21:43 +03:00
Recep Aslantas ad9370537c add tests for mat2 and its call version 2020-02-24 22:14:26 +03:00
Recep Aslantas 43ae3b332a add tests for vec2 and its call version 2020-02-24 10:06:19 +03:00
Recep Aslantas 8a068c3291 Merge branch 'master' into vec2_mat2 2020-02-23 13:10:36 +03:00
Recep Aslantas 4a7c153d2d tests: fix test for mul_rot 2020-02-23 11:19:30 +03:00
Recep Aslantas 7b0f62f1eb tests: add some tests for affine matrices 2020-02-22 10:54:47 +03:00
Recep Aslantas 0c8dc070d5 tests: tests for affine transforms (continue) 2020-02-22 10:29:16 +03:00
Recep Aslantas 0822d46cd9 tests: tests for remaining rotations 2020-02-22 00:58:04 +03:00
Recep Aslantas 3fca734c30 tests: remove unused variables 2020-02-22 00:48:41 +03:00
Recep Aslantas 5995269195 tests: add tests for some affine rotations 2020-02-21 17:52:50 +03:00
Recep Aslantas 6b32b5dc35 tests: add tests for affine scales 2020-02-21 16:57:09 +03:00
Recep Aslantas a1f7afe055 Update test_affine.h 2020-02-21 15:56:15 +03:00
Recep Aslantas 81ae182972 tests: add tests for affine translations 2020-02-21 15:52:34 +03:00
Recep Aslantas de85a4eb2b quat: add tests for quat_rotate_at[m] 2020-02-21 14:28:41 +03:00
Recep Aslantas 8ac1347f8a remove unused params from docs 2020-02-21 12:55:52 +03:00
Recep Aslantas e7a0906bc2 quat: add tests for quat_rotate 2020-02-21 11:48:25 +03:00
Recep Aslantas 6aa8df8e9b quat: add tests for quat_rotatev 2020-02-21 10:51:53 +03:00
Recep Aslantas 2278eba93c quat: fix quat_for and quat_forp implementations 2020-02-20 23:37:35 +03:00
Recep Aslantas 5ee9bb88df add notes for versor/quaternion type to describe memory layout 2020-02-20 17:29:32 +03:00
Recep Aslantas 349dc274f4 add forward vector as macro (vec3, RH)
* this will be used for where Vec3.Forward is needed
2020-02-20 15:19:20 +03:00
Recep Aslantas b9f9548b06 test: test for plane 2020-01-19 22:15:19 +03:00
Recep Aslantas c630293c7d merge test sources into one C source 2020-01-19 22:12:25 +03:00
Recep Aslantas 406d09e085 make plane zero if norm is zero after normalization 2020-01-19 21:48:55 +03:00
Recep Aslantas 65de029acb now working on v0.6.3 2020-01-19 20:37:49 +03:00
Recep Aslantas f8784ffe8a win: enable anonymous structs for Visual Studio 2015 and later 2020-01-17 23:55:35 +03:00
Recep Aslantas cf8dc82783 fix tests on windows (msvc) 2020-01-17 23:29:36 +03:00
Recep Aslantas 9af0ebd142 win: fix glms_quat_imagn if use struct option is disabled 2020-01-17 23:27:20 +03:00
Recep Aslantas 82a195f26a now owrkin on v0.6.2 2020-01-17 23:26:40 +03:00
Recep Aslantas 6abe3f05ab tests: fix quat_look test 2020-01-17 15:17:02 +03:00
Recep Aslantas f53fd45026 Update test_struct.c 2020-01-15 16:44:51 +03:00
Recep Aslantas c67158ac59 Merge pull request #115 from recp/arm-fix
build fix for ARM NEON
2020-01-15 11:58:16 +03:00
Recep Aslantas af7f8a5436 vec4: fix parameter name for NEON 2020-01-15 09:56:54 +03:00
Recep Aslantas c3b5bb869a arm: fix type castings for ARM Neon 2020-01-15 09:56:19 +03:00
Recep Aslantas d6c34d3330 Merge pull request #113 from jdolan/master
This PR addresses a typo in the naming of glms_rotate_x.
2020-01-06 14:11:21 +03:00
Recep Aslantas 5cb800bf29 Merge pull request #111 from hartenfels/autoconf-flags
Fix Automake Flags and Matrix Struct Initializers
2019-11-26 22:45:41 +03:00
Recep Aslantas f0ffef7820 Merge pull request #110 from hartenfels/vec2s
Add a vec2s struct type for consistency
2019-11-24 17:18:50 +03:00
Recep Aslantas 1a74361dfb Merge pull request #109 from hartenfels/prototypes
Change `()` Prototypes to `(void)`
2019-11-23 19:18:52 +03:00
Recep Aslantas 9987e1374b build: remove duplicate entry in makefile
close #108
2019-11-17 10:22:01 +03:00
Recep Aslantas 464b2178ce Update README.md 2019-11-08 17:14:24 +03:00
Recep Aslantas c253769fcd Update applesimd.h 2019-11-07 22:43:47 +03:00
Recep Aslantas b893c79086 Update Makefile.am 2019-11-07 22:41:41 +03:00
Recep Aslantas 2336256808 Helpers for apple's simd library (#107)
* helper to convert cglm matrix to Apple's simd type
2019-11-07 22:32:15 +03:00
Recep Aslantas 381e66349a win,test: fix test build for windows and suppress warnings 2019-10-14 19:08:34 +03:00
Recep Aslantas 7cdeada701 tests: add test for glm_quat_look 2019-09-27 17:53:51 +03:00
Recep Aslantas 841257a208 tests: add test for quat_slerp 2019-09-26 19:57:00 +03:00
Recep Aslantas 212cf3b22d Update test_quat.h 2019-09-26 19:29:45 +03:00
Recep Aslantas ca9b8ceac3 tests: add some tests for quat 2019-09-25 14:03:58 +03:00
Recep Aslantas 5b0e161502 tests: add some tests for quat 2019-09-25 13:47:26 +03:00
Recep Aslantas fb23d1998e tests: add more tests for quat 2019-09-25 12:43:01 +03:00
Recep Aslantas b2084fbacf tests: add some tests for quat 2019-09-25 07:42:29 +03:00
Recep Aslantas 2ea9308361 quat: fix glmc_quat_normalize() 2019-09-25 07:41:29 +03:00
Recep Aslantas 56cbacd9f6 tests: add missing test for vec4 2019-09-24 21:45:43 +03:00
Recep Aslantas 1700187f65 tests: add more tests for vec4 2019-09-24 19:10:44 +03:00
Recep Aslantas 36024367bc tests: add more tests for vec4 2019-09-24 17:02:47 +03:00
Recep Aslantas dcf5b5c1c4 vec: fix min/max for compiled vec3 2019-09-24 17:01:56 +03:00