diff --git a/Cargo.toml b/Cargo.toml index f6e96e0..2a2b10a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "myelin-geometry" description = "Basic linear and vector geometry for two-dimensional Euclidean geometry" -version = "2.1.0" +version = "2.2.0" authors = [ "Jan Nils Ferner ", "Mathias Fischler ", diff --git a/changelog.md b/changelog.md index 71600e5..016a6fb 100644 --- a/changelog.md +++ b/changelog.md @@ -1,18 +1,18 @@ # Changelog ## 1.0 - - Initial release ## 2.0 - - Sanitize Aabbs by replacing `fn new(...) -> Self` with `fn try_new(...) -> Result` ## 2.1 - - Add support for intersection tests between `Polygon`s. - Unify the `intersects` methods of `Polygon` and `Aabb` under the `Intersects` trait - Add some useful functions to `Vector`. - Support calculating the `normal` (i.e. perpendicular) vector - Support calculating the `magnitude` - Support calculating the `unit` vector + +## 2.2 +- Add `Vector::rotate`