Skip to content

v0.9.7: projection helpers and math fixes

Latest

Choose a tag to compare

@recp recp released this 25 Oct 18:40
· 1 commit to master since this release

New helpers

  • #489: add infinite perspective projection helpers for LH/RH and NO/ZO clip spaces (thanks to @Lephar)
  • #450: add 2D affine post-transform helpers for translation, rotation and scaling (thanks to @ATMI)
  • #467: add mat3/mat4 texture-transform helpers
  • #487: add glm_vec2_swap(), glm_vec3_swap() and glm_vec4_swap() (thanks to @tayoky)
  • #452: add tau-related mathematical constants (thanks to @lazzy-cipher)
  • #466: extend Apple SIMD integration helpers
  • #483: add missing perspective-resize functions to the Call API clipspace variants (thanks to @Lephar)

Bug fixes and improvements

  • #505: fix rotation-matrix generation from non-unit quaternions (thanks to @snowyukitty)
  • #504: preserve translation when applying glm_spin() (thanks to @fhgffy)
  • #496: fix AABB鈥搒phere and AABB鈥揷ircle intersection tests below the minimum bounds (thanks to @94xhn)
  • #501: fix the struct API's 2D AABB radius calculation (thanks to @tooold2rock-n-roll)
  • #492: stop Call API headers from automatically including the inline API (thanks to @FunkyAss)
  • #478: fix out-of-tree Autotools builds (thanks to @fd00)
  • #476: fix double-promotion warnings in tests (thanks to @aganm)
  • #488: fix warnings when combining -ffast-math and -Wextra (thanks to @lesleyrs)
  • #499: fix integer-to-float conversion warnings (thanks to @tooold2rock-n-roll)
  • #456, #457: improve compiler-warning coverage and correct documentation (thanks to @lczyk)
  • add missing ARM and WebAssembly SIMD broadcast helpers
  • add missing build/install files and expand regression coverage

Docs

Compatibility

Call API headers no longer automatically include the inline API. Include <cglm/cglm.h> explicitly when using inline functions alongside <cglm/call.h>

Full Changelog: v0.9.6...v0.9.7

Known Issues

鉂わ笍 Sponsorship

Support cglm development and cross-platform testing:

https://github.com/sponsors/recp
https://opencollective.com/cglm#backer
https://patreon.com/recp