mirror of https://github.com/hannobraun/Fornjot
Update variable name
This commit is contained in:
parent
34a34e52b5
commit
5e29f60354
|
@ -6,10 +6,10 @@ use crate::{
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Transform a shape
|
/// 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();
|
let mut target = Vec::new();
|
||||||
|
|
||||||
for face in shape {
|
for face in faces {
|
||||||
let face = match face {
|
let face = match face {
|
||||||
Face::Face(face) => {
|
Face::Face(face) => {
|
||||||
let mut tmp = Shape::new();
|
let mut tmp = Shape::new();
|
||||||
|
|
Loading…
Reference in New Issue