math docs
    Preparing search index...

    Variable rotationToConst

    rotationTo: (out: quat.Quat, a: vec3.Vec3, b: vec3.Vec3) => quat.Quat = ...

    Sets a quaternion to represent the shortest rotation from one vector to another.

    Both vectors are assumed to be unit length.

    Type Declaration