From ee198b516bad5db9312dde3749bf864d6c7079b1 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 19 Feb 2025 22:21:44 +0100 Subject: animations --- shared/src/resources.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/src/resources.rs') 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, + 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>, - value: Resource>, + value: Resource>, } pub struct AvatarInfoPart { -- cgit v1.2.3-70-g09d2