Update Changelog

This commit is contained in:
Brendan Zabarauskas 2015-12-21 21:02:56 +11:00
parent 1d886f6197
commit 0014bb22a5

View file

@ -7,16 +7,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased] ## [Unreleased]
### Added ### Added
- Add missing by-ref and by-val permutations of `Quaternion` and `Angle` - Add missing by-ref and by-val permutations of `Vector`, `Matrix`, `Point`,
operators. `Quaternion` and `Angle` operators.
- Ease lifetime constraints by removing `'static` from some scalar type - Ease lifetime constraints by removing `'static` from some scalar type
parameters. parameters.
- Weaken type constraints on `perspective` function to take an `Into<Rad<S>>`. - Weaken type constraints on `perspective` function to take an `Into<Rad<S>>`.
- Add `Angle::new` for constructing angles from a unitless scalar. - Add `Angle::new` for constructing angles from a unitless scalar.
### Changed ### Changed
- `Vector`, `Point`, and `Angle` are now constrained to require specific - `Vector`, `Matrix`, `Point`, and `Angle` are now constrained to require
operators to be overloaded. This means that generic code can now use specific operators to be overloaded. This means that generic code can now use
operators, instead of the operator methods. operators, instead of the operator methods.
- Take a `Rad` for `ProjectionFov::fovy`, rather than arbitrary `Angle`s. This - Take a `Rad` for `ProjectionFov::fovy`, rather than arbitrary `Angle`s. This
simplifies the signature of `PerspectiveFov` from `PerspectiveFov<S, A>` to simplifies the signature of `PerspectiveFov` from `PerspectiveFov<S, A>` to
@ -42,11 +42,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Remove `Vector::one`. Vectors don't really have a multiplicative identity. - Remove `Vector::one`. Vectors don't really have a multiplicative identity.
If you really want a `one` vector, you can do something like: If you really want a `one` vector, you can do something like:
`Vector::from_value(1.0)`. `Vector::from_value(1.0)`.
- Remove operator methods from `Vector`, `Point`, and `Angle` traits in favor of - Remove operator methods from `Vector`, `Matrix`, `Point`, and `Angle` traits
operator overloading. in favor of operator overloading.
- Remove `*_self` methods from `Vector`, `Point`, and `Angle`. These were of - Remove `*_self` methods from `Vector`, `Matrix`, `Point`, and `Angle`. These
little performance benefit, and assignment operator overloading will be were of little performance benefit, and assignment operator overloading will
coming soon! be coming soon!
- Remove `#[derive(Hash)]` from `Deg` and `Rad`. This could never really be used - Remove `#[derive(Hash)]` from `Deg` and `Rad`. This could never really be used
these types, because they expect to be given a `BaseFloat` under normal these types, because they expect to be given a `BaseFloat` under normal
circumstances. circumstances.