v0.6.0
版本发布时间: 2019-09-01 20:11:25
recp/cglm最新发布版本:v0.9.4(2024-04-01 23:10:19)
New API: Structs ( thanks to @acoto87 ) (https://github.com/recp/cglm/pull/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 norm -
glmm_vhmin(v)
horizontal min -
glmm_vhmax(v)
horizontal max -
glmm_norm_one(v)
l1 norm -
glmm_norm_inf(v)
infinity norm