Update variable name

This commit is contained in:
Hanno Braun 2022-06-28 16:42:53 +02:00
parent 34a34e52b5
commit 5e29f60354
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ use crate::{
};
/// Transform a shape
pub fn transform(shape: &[Face], transform: &Transform) -> Vec<Face> {
pub fn transform(faces: &[Face], transform: &Transform) -> Vec<Face> {
let mut target = Vec::new();
for face in shape {
for face in faces {
let face = match face {
Face::Face(face) => {
let mut tmp = Shape::new();