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