summaryrefslogtreecommitdiff
path: root/shared/src/resources.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-12 00:57:58 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-12 00:57:58 +0100
commitc810b040f875333fb9b1fe5d2269ba08d0c878f2 (patch)
treef8b93771cab1d736d04156a6a82ea961bd6c3d7b /shared/src/resources.rs
parente4500d6bbd512d2744916c8288a8c423af21416f (diff)
downloadweareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar
weareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar.bz2
weareserver-c810b040f875333fb9b1fe5d2269ba08d0c878f2.tar.zst
switch to 32-bit index format
Diffstat (limited to 'shared/src/resources.rs')
-rw-r--r--shared/src/resources.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/resources.rs b/shared/src/resources.rs
index f422611..9e0e7b8 100644
--- a/shared/src/resources.rs
+++ b/shared/src/resources.rs
@@ -47,7 +47,7 @@ pub struct EnvironmentPart {
#[derive(Debug, Default, Clone)]
pub struct MeshPart {
pub name: Option<String>,
- pub index: Option<Resource<Vec<[u16; 3]>>>,
+ pub index: Option<Resource<Vec<[u32; 3]>>>,
pub g_metallic: Option<f32>,
pub g_roughness: Option<f32>,
pub g_albedo: Option<Vec3A>,
@@ -89,7 +89,7 @@ pub struct CollisionPart {
pub sh_cylinder: Option<(f32, f32, f32)>,
pub sh_capsule: Option<(f32, f32, f32)>,
pub sh_convex_hull: Option<Resource>,
- pub sh_mesh: Option<(Resource<Vec<[u16; 3]>>, Resource<Vec<Vec3A>>)>,
+ pub sh_mesh: Option<(Resource<Vec<[u32; 3]>>, Resource<Vec<Vec3A>>)>,
}
#[derive(Debug, Default, Clone)]