Remove unused code

This commit is contained in:
Hanno Braun 2025-01-13 19:51:31 +01:00
parent 14367cd783
commit fb5328da01
2 changed files with 0 additions and 18 deletions

View File

@ -2,6 +2,5 @@ mod pipeline;
mod pipelines;
pub mod triangles;
pub mod vertices;
pub use self::{pipeline::Pipeline, pipelines::Pipelines};

View File

@ -1,17 +0,0 @@
use super::pipeline::IsVertex;
#[derive(Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)]
#[repr(C)]
pub struct Vertex {
pub position: [f32; 3],
pub center: [f32; 3],
pub radius: f32,
}
impl IsVertex for Vertex {
const ATTRIBUTES: &[wgpu::VertexAttribute] = &wgpu::vertex_attr_array![
0 => Float32x3,
1 => Float32x3,
2 => Float32,
];
}