pub struct CutReport {
pub added: MeshId,
pub kept_triangles: usize,
pub removed_triangles: usize,
pub cap_triangles: usize,
}Expand description
What Scene::cut_by_plane did.
Fields§
§added: MeshIdThe new mesh holding the - side.
kept_triangles: usizeAlive triangles of the kept (+) mesh, cap included.
removed_triangles: usizeAlive triangles of the added (-) mesh, cap included.
cap_triangles: usizeCap triangles added on both sides together.
Trait Implementations§
impl Copy for CutReport
impl Eq for CutReport
impl StructuralPartialEq for CutReport
Auto Trait Implementations§
impl Freeze for CutReport
impl RefUnwindSafe for CutReport
impl Send for CutReport
impl Sync for CutReport
impl Unpin for CutReport
impl UnsafeUnpin for CutReport
impl UnwindSafe for CutReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more