Suppress "dead_code" warning in math3d.rs
This commit is contained in:
parent
612f7dc8da
commit
7ddc39b42d
1 changed files with 1 additions and 0 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue