Function transformQuat

  • Transforms vec3 by Quaternion

    Type Parameters

    Parameters

    • v: BaseArgType

      the vector to transform

    • q: BaseArgType

      the quaternion to transform by

    • Optional dst: T

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

    Returns T

    the transformed