Suppress "dead_code" warning in math3d.rs

This commit is contained in:
Stephen Seo 2024-03-15 15:52:18 +09:00
parent 612f7dc8da
commit 7ddc39b42d

View file

@ -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 }