mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-10 12:58:28 +00:00
Group related code
This commit is contained in:
parent
1375026571
commit
20025690de
@ -159,9 +159,9 @@ pub struct ClonedOperation {
|
||||
impl ClonedOperation {
|
||||
pub fn from_op(op: &dyn Operation) -> Self {
|
||||
let mut vertices = Vec::new();
|
||||
let mut triangles = Vec::new();
|
||||
|
||||
op.vertices(&mut vertices);
|
||||
|
||||
let mut triangles = Vec::new();
|
||||
op.triangles(&mut triangles);
|
||||
|
||||
Self {
|
||||
|
Loading…
Reference in New Issue
Block a user