pub struct MarchingCubes {
pub dims: (usize, usize, usize),
pub values: Vec<f32>,
pub iso_level: f32,
pub offset: Vec3,
/* private fields */
}Fields§
§dims: (usize, usize, usize)Unit cell dimensions; number of values along each axis.
values: Vec<f32>Flattened values.
iso_level: f32This sets the value at which the surface is drawn.
offset: Vec3Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MarchingCubes
impl RefUnwindSafe for MarchingCubes
impl Send for MarchingCubes
impl Sync for MarchingCubes
impl Unpin for MarchingCubes
impl UnwindSafe for MarchingCubes
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