Function vec3PairToQuat

  • Creates a quaternion from two vectors (u and v). The quaternion represents the rotation from u to v.

    Parameters

    • u: Vec3

      The first vector.

    • v: Vec3

      The second vector.

    • dest: Quat = ...

      The resulting quaternion (default is created if not provided).

    Returns Quat

    The quaternion representing the rotation from u to v.