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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user