Refactor hands (#110)

* cargo fmt and removed the unessecary examples.

* added left and right hand components for each bone as well as the hand tracker.
This commit is contained in:
Malek
2024-05-29 16:55:40 -07:00
committed by GitHub
parent ec16d9a254
commit 35725eaa8b
2 changed files with 21 additions and 2 deletions

View File

@@ -4,6 +4,12 @@ use bevy::{
prelude::{Deref, DerefMut},
};
#[derive(Clone, Copy, Component, Debug)]
pub struct LeftHand;
#[derive(Clone, Copy, Component, Debug)]
pub struct RightHand;
#[repr(transparent)]
#[derive(Clone, Copy, Component, Debug, DerefMut, Deref)]
pub struct HandBoneRadius(pub f32);