diff options
Diffstat (limited to 'world/src/physics.rs')
-rw-r--r-- | world/src/physics.rs | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/world/src/physics.rs b/world/src/physics.rs index 82bb28f..bc39a11 100644 --- a/world/src/physics.rs +++ b/world/src/physics.rs @@ -1,3 +1,20 @@ +/* + 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 crate::mesh::node_transform_to_affine; use anyhow::{Result, anyhow}; use gltf::{Gltf, Node, buffer::Data, json::Value}; use log::info; @@ -7,8 +24,6 @@ use weareshared::{ vec3a, }; -use crate::mesh::node_transform_to_affine; - pub fn import_physics( gltf: &Gltf, node: &Node, |