summaryrefslogtreecommitdiff
path: root/shared/src/resources.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-28 14:50:56 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-28 14:50:56 +0100
commit3331150162e34471bf0294bdb61a1a748cb94ee5 (patch)
tree10c5584dd22ce81a4d2b8d2e77b7f3a4545b4674 /shared/src/resources.rs
parent505560045a30dd1078480734a8cbf9b12c781170 (diff)
downloadweareserver-3331150162e34471bf0294bdb61a1a748cb94ee5.tar
weareserver-3331150162e34471bf0294bdb61a1a748cb94ee5.tar.bz2
weareserver-3331150162e34471bf0294bdb61a1a748cb94ee5.tar.zst
server+world: tangent handedness
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 2c94d05..f2b7859 100644
--- a/shared/src/resources.rs
+++ b/shared/src/resources.rs
@@ -16,7 +16,7 @@
*/
use crate::{helper::ReadWrite, packets::Resource};
use anyhow::Result;
-use glam::{Affine3A, Vec2, Vec3A};
+use glam::{Affine3A, Vec2, Vec3A, Vec4};
use log::warn;
use std::{
borrow::Cow,
@@ -65,7 +65,7 @@ pub struct MeshPart {
pub g_double_sided: Option<()>,
pub va_position: Option<Resource<Vec<Vec3A>>>,
pub va_normal: Option<Resource<Vec<Vec3A>>>,
- pub va_tangent: Option<Resource<Vec<Vec3A>>>,
+ pub va_tangent: Option<Resource<Vec<Vec4>>>,
pub va_texcoord: Option<Resource<Vec<Vec2>>>,
pub va_roughness: Option<Resource<Vec<f32>>>,
pub va_metallic: Option<Resource<Vec<f32>>>,