diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-19 22:21:44 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-19 22:21:44 +0100 |
commit | ee198b516bad5db9312dde3749bf864d6c7079b1 (patch) | |
tree | e1fb544e5c78a3cd7c6fff58642522be5ccef7e0 /shared/src/resources.rs | |
parent | 6edc755bc040bc67ad3cd88fa694e9d29daf4a3b (diff) | |
download | weareserver-ee198b516bad5db9312dde3749bf864d6c7079b1.tar weareserver-ee198b516bad5db9312dde3749bf864d6c7079b1.tar.bz2 weareserver-ee198b516bad5db9312dde3749bf864d6c7079b1.tar.zst |
animations
Diffstat (limited to 'shared/src/resources.rs')
-rw-r--r-- | shared/src/resources.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/src/resources.rs b/shared/src/resources.rs index 5e2e268..bab9a43 100644 --- a/shared/src/resources.rs +++ b/shared/src/resources.rs @@ -92,7 +92,9 @@ resource_dicts!( } pub struct AnimationPart { - channel[multi]: Resource<AnimationChannel>, + name: String, + channel[multi]: AnimationChannel, + duration: f32, } pub struct AnimationChannel { @@ -105,7 +107,7 @@ resource_dicts!( t_joint_scale: (u32, u32), t_light_translation: u32, time: Resource<Vec<f32>>, - value: Resource<Vec<Vec3A>>, + value: Resource<Vec<f32>>, } pub struct AvatarInfoPart { |