summaryrefslogtreecommitdiff
path: root/client/src/armature.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/armature.rs')
-rw-r--r--client/src/armature.rs21
1 files changed, 18 insertions, 3 deletions
diff --git a/client/src/armature.rs b/client/src/armature.rs
index d955415..abfc455 100644
--- a/client/src/armature.rs
+++ b/client/src/armature.rs
@@ -1,13 +1,28 @@
-use std::sync::Arc;
+/*
+ wearechat - generic multiplayer game with voip
+ Copyright (C) 2025 metamuffin
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License only.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+*/
use glam::Mat4;
+use std::sync::Arc;
use weareshared::resources::Armature;
use wgpu::{Buffer, BufferDescriptor, BufferUsages, Device, Queue};
pub struct RArmature {
pub joint_mat_uniform_buffer: Arc<Buffer>,
joint_mat: Vec<Mat4>,
- data: Armature,
+ _data: Armature,
}
impl RArmature {
@@ -19,7 +34,7 @@ impl RArmature {
usage: BufferUsages::COPY_DST | BufferUsages::UNIFORM,
mapped_at_creation: false,
})),
- data: armature,
+ _data: armature,
joint_mat: vec![],
}
}