pub struct Krp {
pub k: bool,
pub g: bool,
pub c: bool,
pub bounce: dReal,
pub mu: dReal,
}Expand description
krp
Fields§
§k: boolkinetics (false: keep position)
g: boolgravity sensitive (false: call dBodyDisable())
c: boolcollision
bounce: dRealbounce
mu: dRealmu (e.g. polyethylene 0.06 to 0.3) default 0.3
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Krp
impl RefUnwindSafe for Krp
impl Send for Krp
impl Sync for Krp
impl Unpin for Krp
impl UnwindSafe for Krp
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