From 6a54c961119e417f6e53cca09c8fc64b0893e987 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 13 May 2025 16:43:00 -0400 Subject: [PATCH] Make transformation struct available in C --- src/layer/common.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/layer/common.rs b/src/layer/common.rs index 458479b..6ffdc66 100644 --- a/src/layer/common.rs +++ b/src/layer/common.rs @@ -14,6 +14,7 @@ pub struct RelativePositions { #[binrw] #[derive(Debug)] #[brw(little)] +#[repr(C)] #[allow(dead_code)] // most of the fields are unused at the moment pub struct Transformation { pub translation: [f32; 3],