mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 20:38:30 +00:00
Remove unused code
This commit is contained in:
parent
14367cd783
commit
fb5328da01
@ -2,6 +2,5 @@ mod pipeline;
|
||||
mod pipelines;
|
||||
|
||||
pub mod triangles;
|
||||
pub mod vertices;
|
||||
|
||||
pub use self::{pipeline::Pipeline, pipelines::Pipelines};
|
||||
|
@ -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,
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user