github recp/cglm v0.6.0
v0.6.0: Struct API and New Features

latest releases: v0.9.4, v0.9.3, v0.9.2...
4 years ago

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 norm
  • glmm_vhmin(v) horizontal min
  • glmm_vhmax(v) horizontal max
  • glmm_norm_one(v) l1 norm
  • glmm_norm_inf(v) infinity norm

Don't miss a new cglm release

NewReleases is sending notifications on new releases.