From 87fb1d25bd7d2b61da89a040efa64a9040711114 Mon Sep 17 00:00:00 2001 From: Jerome Humbert Date: Sat, 18 May 2024 20:06:49 +0100 Subject: [PATCH] Allow dead code on GpuCompressedTransform --- src/render/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render/mod.rs b/src/render/mod.rs index a7ec4c60..a3c051a7 100644 --- a/src/render/mod.rs +++ b/src/render/mod.rs @@ -207,6 +207,7 @@ impl From<&Mat4> for GpuCompressedTransform { impl GpuCompressedTransform { /// Returns the translation as represented by this transform. + #[allow(dead_code)] pub fn translation(&self) -> Vec3 { Vec3 { x: self.x_row.w,