Quaternion.dq constructor

Quaternion.dq(
  1. Quaternion q,
  2. Vector3 omega
)

Constructs a quaternion from time derivative of q with angular velocity omega.

Implementation

factory Quaternion.dq(Quaternion q, Vector3 omega) =>
    Quaternion._()..setDQ(q, omega);