pub struct AdjustedVelocity {
pub offset: f64,
pub factor: f64,
}
Expand description
Calculated as (delta.magnitude() + offset) * factor
.
Fields§
§offset: f64
§factor: f64
Trait Implementations§
source§impl Clone for AdjustedVelocity
impl Clone for AdjustedVelocity
source§fn clone(&self) -> AdjustedVelocity
fn clone(&self) -> AdjustedVelocity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more