Skip to content

0.4.0

Compare
Choose a tag to compare
@tguichaoua tguichaoua released this 11 Feb 07:07
· 19 commits to main since this release
59b16f4

Features

  • Support for the rand crate.
  • Implement PartialOrd for AngleUnbounded.
  • Implement AddAssign, SubAssign, MulAssign and DivAssign for Angle and AngleUnbounded.
  • Foward operator on reference for Angle and AngleUnbounded (e.g. T op &U, &T op U, &T op &U, etc...).
  • Implement Sum for Angle and AngleUnbounded.
  • Add a prelude module.
  • Add Angle<f32>Angle<f64> and AngleUnbounded<f32>AngleUnbounded<f64> convertion.
  • Add Angle::is_nan() method.

Fixes

  • serde dependency is now no-default-features.
  • Angle::from_turns will no more returning NaN when using big values.

Documentation

  • Move feature specific documentation in their own module for clarity.
  • Add a note about Angle(NaN).

v0.3.0...v0.4.0