Graphmath.Quatern.integrate
You're seeing just the function
integrate
, go back to Graphmath.Quatern module for more information.
Link to this function
integrate(q, omega, dt)
Specs
integrate(q, omega, dt)
integrates the angular velocty omega over a timestep dt with intial orientation q.
q
is an orientation quaternion to use as the initial orientation.
omega
is a vec3
whose direction is the axis of rotation and whose magnitude is the velocity about that axis.
dt
is the timestep over which to apply the angular velocity.
It returns an orientation quatern
.