Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Mar 08:49
· 39 commits to main since this release

LeapRS v0.2.0

Added

  • All the wrapper structures now implement Deref of the wrapped leap-sys structures
  • All the reference wrapper structures now implement Clone and Copy
  • The opt-in features glam and nalgebra add conversion method for vectors and quaternions to these libraries.

Changed

  • Improved the examples to avoid common timeout unwrap()
  • The vectors and quaternion are not anymore copied
  • Breaking All the non-owning wrappers (most of them) are now named with Ref as a suffix.
    Hand becomes HandRef, Digit becomes DigitRef, etc.

Removed

  • Breaking All the trivial accessor functions were removed, in favour of the Deref trait
    vector.x() becomes vector.x, hand.pinch_distance() becomes hand.pinch_distance, etc.

What's Changed

Full Changelog: v0.1.4...v0.2.0