Commit Graph

84 Commits

Author SHA1 Message Date
Marcin 8b810c2280 -Wconversion 2025-03-18 13:25:32 +00:00
Marcin c1ea9e7a69 -Wextra and -Wpedantic 2025-03-18 13:24:23 +00:00
Recep Aslantas 643700c05e now working on v0.9.6 2025-02-13 12:25:10 +03:00
Recep Aslantas e8c791e91e Merge pull request #441 from MarcinKonowalczyk/perlin
Implement Perlin noise
2025-01-22 23:23:03 +03:00
duarm f815918a74 rename struct/aabb2d.h functions to match aabb2d.h, add tests 2025-01-20 13:29:21 -03:00
Marcin a0d8803f76 perlin.h -> noise.h 2025-01-15 14:05:08 +00:00
Marcin 3e52d90ecb boilerplate 2025-01-14 17:32:46 +00:00
Alex Belanger 5484259328 Undid the formatting. 2024-09-09 10:35:24 -04:00
Alex Belanger e930737807 Bump CMake minimum version to 3.13 2024-09-09 10:06:09 -04:00
Recep Aslantas da4224ba32 now working on v0.9.5 2024-04-02 00:52:54 +03:00
Recep Aslantas 829b7dddce now working on v0.9.4 2024-03-29 07:53:48 +03:00
Recep Aslantas 772238f53f update cmake to respect DEBUG 2024-03-01 12:01:58 +03:00
Recep Aslantas 34f0d59f5a now working on v0.9.3 2023-12-31 15:19:36 +03:00
Recep Aslantas 61478d2563 now working on v0.9.2 2023-08-10 09:20:39 +03:00
Vincent Davis Jr 3d292c3a2e add new matrix mat4x3
Initial function being

glm_mat4x3_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-17 22:57:52 -04:00
Vincent Davis Jr 2df26c0ecf add new matrix mat4x2
Initial function being

glm_mat4x2_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-16 20:19:25 -04:00
Vincent Davis Jr e09cf11f1c add new matrix mat3x4
Initial function being

glm_mat3x4_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-16 15:41:36 -04:00
Vincent Davis Jr 4e44e74d48 add new matrix mat3x2
Initial function being

glm_mat3x2_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-15 18:48:50 -04:00
Vincent Davis Jr fe7471e8f8 add new matrix mat2x4
Initial function being

glm_mat2x4_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-15 14:32:48 -04:00
Vincent Davis Jr 6317ed90e7 add new matrix mat2x3
Initial function being

glm_mat2x3_make

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-07-14 18:57:45 -04:00
Recep Aslantas d6267e623b drop "-Werror" to allow skip warnings on production build 2023-07-08 23:16:15 +03:00
Recep Aslantas c4a348ac71 now working on v0.9.1 2023-05-02 08:22:18 +03:00
myfreeer 07bc4be18b simd128: cmake options
After this, the required options for cmake are listed below:
```
-DCMAKE_C_FLAGS="-msimd128"
-DCMAKE_TOOLCHAIN_FILE=/path/to/wasi-sdk-19.0/share/cmake/wasi-sdk.cmake
-DWASI_SDK_PREFIX=/path/to/wasi-sdk-19.0
-DCGLM_USE_TEST=ON
```
If compiling to wasi with simd128 support, `-DCMAKE_C_FLAGS="-msimd128"` can be removed.
If tests are not needed, `-DCGLM_USE_TEST=ON` can be removed.
2023-04-02 13:09:00 +08:00
Recep Aslantas bc8dc72739 now working on v0.9.0 2023-02-08 18:12:23 +03:00
Recep Aslantas 9fc3a20d0f cmake: prevent overriding CMAKE_BUILD_TYPE if it is subdirectory 2023-01-26 11:07:08 +03:00
Artturin 9c7012bb39 Revert "fix: simplified pkgconfig generation"
This reverts commit c7393f75c3.
2022-12-19 00:22:55 +02:00
Recep Aslantas 71367b67cf now working on v0.8.9 2022-12-14 14:12:29 +03:00
Michael Santiago a430408ec4 Switch CMAKE_BINARY_DIR to CMAKE_CURRENT_BINARY_DIR for cmake.pc install target 2022-12-13 10:59:54 -05:00
Recep Aslantas 78236d24a1 now working on v0.8.8 2022-12-07 12:55:51 +03:00
Recep Aslantas 89cee7912a now working on v0.8.7 2022-10-26 23:12:52 +03:00
Bob van der Linden c7393f75c3 fix: simplified pkgconfig generation 2022-09-16 16:45:12 +02:00
Recep Aslantas 2d348ceba0 build: add missing files to meson and cmake lists 2022-08-23 15:43:04 +03:00
Chris-F5 2432970f90 Merge branch 'recp:master' into add-basic-ivec-functions 2022-05-20 14:45:57 +01:00
Alexander Shpilkin f587c00f26 allow absolute paths in CMAKE_INSTALL_*DIR 2022-05-19 18:47:00 +03:00
Christopher Lang d582146d9a Add ivec3 and ivec4 files 2022-05-17 16:04:47 +01:00
Christopher Lang 4c85b970a9 Add ivec2 files 2022-05-16 22:41:04 +01:00
Recep Aslantas cf7f4231f0 now working on v0.8.6 2022-03-20 22:19:31 +03:00
Omar Polo 2d5506d15d set PACKAGE_VERSION so it gets substituted in cglm.pc.in by cmake
otherwise it ends up being an empty string and the installed pc has a
bogus line:

	Version:
2021-11-21 21:04:59 +01:00
Recep Aslantas bde653b607 Update CMakeLists.txt 2021-10-28 19:10:19 +03:00
Konstantin Podsvirov 8e784e762f win: fix shared library name and destination 2021-10-10 12:02:44 +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
Tai Chi Minh Ralph Eastwood 403097d56c build: fix duplicate line in CMakeLists.txt 2021-05-14 15:27:28 +02:00
Tai Chi Minh Ralph Eastwood 7065011bf3 clipspace: add initial implementations LH, RH and NO, ZO
Add the initial implementations of the left-handed and right-handed
coordinate systems as well as clipspace depth values of [-1, 0] and
[0, 1].
2021-05-13 23:22:58 +02:00
michaelg c013bd462c Add LH & RH_NO perspective functions
This commit adds functions `glm_perspective_lh_no` and
`glm_perspective_rh_no` to the code. Unit tests are added and this
commit follows the new pattern of adding the a new file per
coordinate-system and clip-space tuple.

. Makefile.am updated
. removed test/glm_cmp project stub
. unit tests include naive implementations to as well as magic number
  ref-data generated by the corresponding GLM functions.

No tests run yet on Windows or Mac.
2021-05-13 23:18:05 +02:00
michaelg b3a18b8a15 Add glm_perspective_rh_zo function + tests
This commit adds the RH/ZO perspective function. It does so in the new
file `cam_rh_zo.h` and further refactors the LH variant into new file
`cam_lh_zo.h`. This creates some churn in the tests and configuration
files as new test files were added as well, and all these changes found
their way into the build files.

Tests passing on Linux.
2021-05-13 23:18:05 +02:00
Recep Aslantas f35badd436 now working on v0.8.3 2021-04-30 01:00:42 +03:00
Recep Aslantas 50c93f3d30 Merge pull request #188 from wdouglass/cmake-pkgconfig
configure and install cglm.pc with cmake
2021-04-23 17:12:04 +03:00
Recep Aslantas f14ca0c3f2 now working on v0.8.2 2021-04-23 17:03:39 +03:00
Woodrow Douglass 0c165cba76 configure and install cglm.pc with cmake 2021-04-23 09:28:55 -04:00