From b8ab427f3fde15f9ab52f7edba30514ece7383c6 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 9 Jan 2024 14:10:43 -0800 Subject: [PATCH] this is always zero... --- src/load_bsp.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/load_bsp.rs b/src/load_bsp.rs index 9224aaa..687c2bd 100644 --- a/src/load_bsp.rs +++ b/src/load_bsp.rs @@ -85,6 +85,10 @@ pub fn generate_indexed_models(input:&mut R)->Res groups, instances:vec![crate::model::ModelInstance{ attributes:crate::model::CollisionAttributes::Decoration, + transform:crate::integer::Planar64Affine3::new( + crate::integer::Planar64Mat3::default(), + valve_transform(<[f32;3]>::from(world_model.origin)) + ), ..Default::default() }], }