Skip to content

Commit

Permalink
Merge pull request #51 from nullscanner/add_palm_direction
Browse files Browse the repository at this point in the history
Add direction to palm
  • Loading branch information
plule authored Dec 27, 2023
2 parents 045cba7 + 78cf424 commit 2ef468b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/palm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ impl<'a> Palm<'a> {
pub fn orientation(&self) -> Quaternion {
self.handle.orientation.into()
}

pub fn direction(&self) -> LeapVector {
self.handle.direction.into()
}
}

0 comments on commit 2ef468b

Please sign in to comment.