mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Prepare for follow-on change
This commit is contained in:
parent
e218666396
commit
d6b5972183
@ -50,7 +50,7 @@ impl Geometry<VerticesVertex> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<V> Geometry<V> {
|
||||
impl Geometry<TrianglesVertex> {
|
||||
pub fn triangles(
|
||||
device: &wgpu::Device,
|
||||
operation: &impl Operation,
|
||||
@ -94,7 +94,9 @@ impl<V> Geometry<V> {
|
||||
|
||||
Self::new(device, &vertices, &indices)
|
||||
}
|
||||
}
|
||||
|
||||
impl<V> Geometry<V> {
|
||||
pub fn new(
|
||||
device: &wgpu::Device,
|
||||
vertices: &[impl bytemuck::NoUninit],
|
||||
|
Loading…
Reference in New Issue
Block a user