Function transformQuat

  • Transforms vec3 by Quaternion

    Parameters

    • v: Vec3

      the vector to transform

    • q: Quat

      the quaternion to transform by

    • Optional dst: Vec3

      optional vec3 to store result. If not passed a new one is created.

    Returns Vec3

    the transformed