mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-27 10:29:28 +00:00
Return triangle vertices as children
This commit is contained in:
parent
a9bcd5df1b
commit
cef2aaec07
@ -70,6 +70,9 @@ impl Operation for Triangle {
|
||||
}
|
||||
|
||||
fn children(&self) -> Vec<Box<dyn Operation>> {
|
||||
Vec::new()
|
||||
self.vertices
|
||||
.iter()
|
||||
.map(|vertex| Box::new(*vertex) as _)
|
||||
.collect()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user