diff options
Diffstat (limited to 'client/src/armature.rs')
-rw-r--r-- | client/src/armature.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/armature.rs b/client/src/armature.rs index daf2725..1156071 100644 --- a/client/src/armature.rs +++ b/client/src/armature.rs @@ -16,18 +16,18 @@ */ use glam::Mat4; use std::sync::Arc; -use weareshared::resources::Armature; +use weareshared::resources::ArmaturePart; use wgpu::{Buffer, BufferDescriptor, BufferUsages, Device, Queue}; const MAX_JOINTS: usize = 128; pub struct RArmature { pub joint_mat_uniform_buffer: Arc<Buffer>, joint_mat: Vec<Mat4>, - _data: Armature, + _data: ArmaturePart, } impl RArmature { - pub fn new(device: &Device, armature: Armature) -> Self { + pub fn new(device: &Device, armature: ArmaturePart) -> Self { Self { joint_mat_uniform_buffer: Arc::new(device.create_buffer(&BufferDescriptor { label: Some("joint uniform"), |