New API: Structs ( thanks to @acoto87 ) (#80)
cglm now supports structs. To use struct api, just include cglm/struct.h
header. You can also use struct api with array api. Struct api provides type-safety. Currently struct parameters are pass-by-value but in the future it may be pass-by-reference by using pointers (feedbacks are welcome by creating issues).
New Features and Improvements:
- swizzling api: now cglm supports swizzling
- Find post-build.sh even when not building in. ( @hartenfels )
- quat: fix
glm_quat_axis
axis parameter type - win: remove optional DLLMain entry point
- new name for euler sequence (#94) ( @superbigio )
- squared distance with SIMD support (#96) ( @superbigio )
- glm_lerpc(), glm_step(), glm_smoothstep(), glm_smoothinterp() (#98) ( @superbigio )
- added glm_vec_fill() (#100) ( @superbigio )
- swapped argument order in glmm_store3() (#102) ( @superbigio )
- vec: some useful functions (#103) ( @superbigio )
- quat: fix identity quat in
glm_quat_normalize_to
(#88) ( @yushli ) - and some minor changes...
New glmm (SIMD) functions: (thanks to @superbigio )
glmm_norm2(v)
squared l2 normglmm_vhmin(v)
horizontal minglmm_vhmax(v)
horizontal maxglmm_norm_one(v)
l1 normglmm_norm_inf(v)
infinity norm