pub struct Region {
pub center: [f32; 3],
pub radius: f32,
}Expand description
A spherical region of influence. An edge takes part when its midpoint lies in the strict interior; the boundary itself is inert.
Fields§
§center: [f32; 3]Center of the region in mesh units.
radius: f32Radius of influence in mesh units. Must be positive and finite.
Trait Implementations§
impl Copy for Region
impl StructuralPartialEq for Region
Auto Trait Implementations§
impl Freeze for Region
impl RefUnwindSafe for Region
impl Send for Region
impl Sync for Region
impl Unpin for Region
impl UnsafeUnpin for Region
impl UnwindSafe for Region
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