From 55875fb4063a64de25ace0b5013a0f19bc86c19a Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Wed, 15 Feb 2023 02:22:36 +0100 Subject: Implement NodeDefs and ItemDefs --- src/to_clt/obj.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/to_clt/obj.rs') diff --git a/src/to_clt/obj.rs b/src/to_clt/obj.rs index 9e88fff..1b605cc 100644 --- a/src/to_clt/obj.rs +++ b/src/to_clt/obj.rs @@ -16,8 +16,8 @@ pub struct ObjProps { pub max_hp: u16, // player only pub collide_with_nodes: bool, pub weight: f32, // deprecated - pub collision_box: ([f32; 3], [f32; 3]), - pub selection_box: ([f32; 3], [f32; 3]), + pub collision_box: RangeInclusive<[f32; 3]>, + pub selection_box: RangeInclusive<[f32; 3]>, pub pointable: bool, pub visual: ObjVisual, pub visual_size: [f32; 3], -- cgit v1.2.3