Update name of method argument

This commit is contained in:
Hanno Braun 2024-10-24 19:12:27 +02:00
parent 4c943be58d
commit b333b6d1b3

View File

@ -72,12 +72,9 @@ impl Layer<Geometry> {
pub fn define_surface_2(
&mut self,
surface: Handle<Surface>,
generator: SurfaceGeom,
geometry: SurfaceGeom,
) {
self.process_command(DefineSurface2 {
surface,
geometry: generator,
});
self.process_command(DefineSurface2 { surface, geometry });
}
/// Define the geometry of the provided vertex