Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
plule committed Mar 24, 2024
1 parent 094e412 commit f9204ff
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)

### Added

### Changed

### Removed

### Fixed

## [0.2.0] - 2024-03-25

### 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.
Expand All @@ -17,11 +27,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
- 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...
`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.

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leaprs"
version = "0.1.4"
version = "0.2.0"
edition = "2021"
authors = ["Pierre Lulé <pierre@lule.fr>"]
description = "Safe wrapper for the LeapC Ultraleap (Leap Motion) hand tracking device API."
Expand Down

0 comments on commit f9204ff

Please sign in to comment.