pub enum ChunkMapOperation {
Crop {
min: [f32; 3],
max: [f32; 3],
invert: bool,
},
Transform(Mat4<f32>),
}Expand description
Per-chunk operation that preserves the input schema.
Variants§
Crop
Keep points inside inclusive bounds, or outside them when invert is true.
Fields
Transform(Mat4<f32>)
Apply an affine transform to positions and its linear part to normals.
Trait Implementations§
Source§impl Clone for ChunkMapOperation
impl Clone for ChunkMapOperation
Source§fn clone(&self) -> ChunkMapOperation
fn clone(&self) -> ChunkMapOperation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChunkMapOperation
impl Debug for ChunkMapOperation
Source§impl PartialEq for ChunkMapOperation
impl PartialEq for ChunkMapOperation
Source§fn eq(&self, other: &ChunkMapOperation) -> bool
fn eq(&self, other: &ChunkMapOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChunkMapOperation
impl StructuralPartialEq for ChunkMapOperation
Auto Trait Implementations§
impl Freeze for ChunkMapOperation
impl RefUnwindSafe for ChunkMapOperation
impl Send for ChunkMapOperation
impl Sync for ChunkMapOperation
impl Unpin for ChunkMapOperation
impl UnsafeUnpin for ChunkMapOperation
impl UnwindSafe for ChunkMapOperation
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