Merge redundant impl blocks

This commit is contained in:
Hanno Braun 2025-01-13 19:55:49 +01:00
parent 4683a6d88f
commit bc153e2896

View File

@ -48,9 +48,7 @@ impl Geometry {
Self::new(device, &vertices, &indices) Self::new(device, &vertices, &indices)
} }
}
impl Geometry {
pub fn new( pub fn new(
device: &wgpu::Device, device: &wgpu::Device,
vertices: &[triangles::Vertex], vertices: &[triangles::Vertex],