From 4b1444c9205151a2c7b5061784fa9de331b38f97 Mon Sep 17 00:00:00 2001 From: Jeremy Stucki Date: Mon, 4 Mar 2019 13:45:14 +0100 Subject: [PATCH 1/2] Bump version number --- Cargo.toml | 2 +- changelog.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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..6e4b8aa 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 From b431795db49c6981ced32a25d751014e9ea766bd Mon Sep 17 00:00:00 2001 From: Ruben Schmidmeister Date: Mon, 4 Mar 2019 13:50:11 +0100 Subject: [PATCH 2/2] Update changelog.md Co-Authored-By: jeremystucki --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 6e4b8aa..016a6fb 100644 --- a/changelog.md +++ b/changelog.md @@ -15,4 +15,4 @@ - Support calculating the `unit` vector ## 2.2 -- Add Vector::rotate +- Add `Vector::rotate`