Skip to main content

Damping

Type Alias Damping 

Source
pub type Damping = Qty<0, 1, -1, 0, 0, 0, 0>;
Expand description

N·s·m⁻¹ — a dashpot’s c. Force proportional to velocity, and the only place a mechanical simulation loses energy on purpose.

Aliased Type§

pub struct Damping(/* private fields */);

Trait Implementations§

Source§

impl Mul<QVec3<1, 0, -1, 0, 0, 0, 0>> for Damping

Source§

type Output = QVec3<1, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, v: VelocityVec) -> ForceVec

Performs the * operation. Read more
Source§

impl Mul<Qty<1, 0, -1, 0, 0, 0, 0>> for Damping

Source§

type Output = Qty<1, 1, -2, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Velocity) -> Force

Performs the * operation. Read more