Skip to content

Releases: khonsulabs/figures

v0.4.1

07 Oct 19:29
7899fc2
Compare
Choose a tag to compare

Changed

  • Fraction::new now contains a debug_assert! ensuring the denominator is
    non-zero.

Added

  • Rect now implements FloatConversion when its unit type implements it.

v0.4.0

22 Jul 14:58
8fed631
Compare
Choose a tag to compare

Breaking Changes

  • wgpu has been updated to v22.0.0.

v0.3.0

12 May 15:23
56961cd
Compare
Choose a tag to compare

Breaking Changes

  • Px, UPx, and Lp no longer directly have an associated constant ZERO.
    This constant is still available via the Zero trait.
  • This crate's wgpu version is now 0.20.0.
  • This crate's winit version is now 0.30.0.

v0.2.2

05 Jan 01:07
c7dad84
Compare
Choose a tag to compare

Added

  • Size and Point now implement both to/from winit's
    PhysicalSize/PhysicalPosition for both i32/Px and u32/UPx.

v0.2.1

28 Dec 22:08
762e30b
Compare
Choose a tag to compare

Added

  • Px, UPx, and Lp now can be multiplied by Fraction.
  • Point::rotate_by and Point::rotate_around allow rotating points by an
    Angle.

v0.2.0

18 Dec 18:51
4eb3cac
Compare
Choose a tag to compare

This version is a complete rewrite to be primarily integer driven. No attempt at keeping a compatible API has been made.