From bd5d1278969d5719c67d11aef78ecf139b3d9bd1 Mon Sep 17 00:00:00 2001 From: Cameron Hart Date: Tue, 20 Aug 2024 21:36:54 +1200 Subject: [PATCH] Prepare 0.29.0 release. --- CHANGELOG.md | 21 ++++++++++++++++++--- Cargo.toml | 2 +- README.md | 4 ++-- src/lib.rs | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 056316c6..588c4691 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. -## [Unreleased] +## [0.29.0] - 2024-08-20 -## Breaking changes +### Breaking changes * `EulerRot` has been reimplemented and now has support for 24 different rotation order enum values. +### Fixed + +* Reduced the dot threshold at which quaternion slerp uses lerp to improve + accuracy. + ### Added * Added 3x3 matrix `from_mat4_minor()` and 2x2 matrix `from_mat3_minor()` @@ -30,6 +35,15 @@ The format is based on [Keep a Changelog], and this project adheres to * Added `to_euler` methods to matrix types which extracts Euler angles from a rotation matrix for a given `EulerRot`. +* Added generic `map` method to vector types which applies a functor to all + vector elements. + +* Vector arithmetic ops are now implemented on references. + +### Changed + +* Vector and quaternion lerp now uses a precise lerp algorithm. + ## [0.28.0] - 2024-06-10 ### Breaking changes @@ -1106,7 +1120,8 @@ The format is based on [Keep a Changelog], and this project adheres to [Keep a Changelog]: https://keepachangelog.com/ [Semantic Versioning]: https://semver.org/spec/v2.0.0.html -[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.28.0...HEAD +[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.29.0...HEAD +[0.29.0]: https://github.com/bitshifter/glam-rs/compare/0.28.0...0.29.0 [0.28.0]: https://github.com/bitshifter/glam-rs/compare/0.27.0...0.28.0 [0.27.0]: https://github.com/bitshifter/glam-rs/compare/0.26.0...0.27.0 [0.26.0]: https://github.com/bitshifter/glam-rs/compare/0.25.0...0.26.0 diff --git a/Cargo.toml b/Cargo.toml index 161aff15..abc1afc9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "glam" -version = "0.28.0" # remember to update html_root_url +version = "0.29.0" # remember to update html_root_url edition = "2021" authors = ["Cameron Hart "] description = "A simple and fast 3D math library for games and graphics" diff --git a/README.md b/README.md index e93e1d1e..8845b358 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ defined in `std`. For example: ```toml [dependencies] -glam = { version = "0.28", default-features = false, features = ["libm"] } +glam = { version = "0.29.0", default-features = false, features = ["libm"] } ``` To support both `std` and `no_std` builds in project, you can use the following @@ -94,7 +94,7 @@ std = ["glam/std"] libm = ["glam/libm"] [dependencies] -glam = { version = "0.28", default-features = false } +glam = { version = "0.29.0", default-features = false } ``` ### Optional features diff --git a/src/lib.rs b/src/lib.rs index 25c2d88f..718add70 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -252,7 +252,7 @@ and benchmarks. The minimum supported Rust version is `1.68.2`. */ -#![doc(html_root_url = "https://docs.rs/glam/0.28.0")] +#![doc(html_root_url = "https://docs.rs/glam/0.29.0")] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(target_arch = "spirv", feature(repr_simd))] #![deny(