Skip to main content

compute_angular_velocity

Function compute_angular_velocity 

Source
pub fn compute_angular_velocity(q1: Rot, q2: Rot, inv_h: f32) -> f32
Expand description

Compute the angular velocity necessary to rotate between two rotations over a given time

  • q1 - initial rotation
  • q2 - final rotation
  • inv_h - inverse time step