pub struct Poly6 {
pub _pos: Mat3x1<f32>,
pub _scale: Mat3x1<f32>,
pub _radius: f32,
}Expand description
§6 sided polyhedral / box
Fields§
§_pos: Mat3x1<f32>§_pos := center of the box
_scale: Mat3x1<f32>§_radius: f32§_radius := approximation of the box size
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Poly6
impl RefUnwindSafe for Poly6
impl Send for Poly6
impl Sync for Poly6
impl Unpin for Poly6
impl UnwindSafe for Poly6
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IObjImplClone for T
impl<T> IObjImplClone for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more