Bugfixes and Improvements:
- fix glms_sphere_transform by using mat4s instead of mat4 (#121) ( thanks to @Zollerboy1 )
- fix glms_vec2_rotate() by using a dest vec2s instead of taking an axis ( thanks to @Zollerboy1 )
- fix some documentation mistakes ( thanks to @Uwila )
- remove redundant forward decelerations
- use glm_clamp_zo in some places to clamp between 0 and 1
- make Github recognize header language as C (#127) ( thanks to @Uwila )
- [README] link contributors' avatars to the correct page ( thanks to @Uwila )
- and some forgotten big or small fixes maybe :) ( thanks to all )
New Features:
-
ray-triangle intersection ( many thanks to @Uwila )
-
CMake build support ( many thanks to @FMMazur and @realaltffour )
Now we can build cglm with CMake and can integrate with other CMake projects.CMake options:
option(CGLM_SHARED "Shared build" ON)
option(CGLM_STATIC "Static build" OFF)
option(CGLM_USE_C99 "" OFF) # C11
option(CGLM_USE_TEST "Enable Tests" OFF) # for make check - make test
there may be some bugs in CMake configurations, it will be improved by time.
feel free to suggest new features, improvements and fix things by creating issues or pull requests.