From 7ddc39b42da0e48b4ea5da118e8aa3609b82b775 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 15 Mar 2024 15:52:18 +0900 Subject: [PATCH] Suppress "dead_code" warning in math3d.rs --- src/math3d.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/math3d.rs b/src/math3d.rs index 857d046..da17f00 100644 --- a/src/math3d.rs +++ b/src/math3d.rs @@ -16,6 +16,7 @@ impl Default for Vertex { } } +#[allow(dead_code)] impl Vertex { pub fn new(pos: [f32; 2], color: [f32; 3]) -> Self { Self { pos, color }