summaryrefslogtreecommitdiff
path: root/client/src/meshops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/meshops.rs')
-rw-r--r--client/src/meshops.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/client/src/meshops.rs b/client/src/meshops.rs
index afa50ce..0a3f963 100644
--- a/client/src/meshops.rs
+++ b/client/src/meshops.rs
@@ -1,3 +1,19 @@
+/*
+ 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::{Vec2, Vec3, vec2};
pub fn generate_normals(index: &[[u32; 3]], position: &[Vec3]) -> Vec<Vec3> {