Function fromQuat

  • Creates a Mat3 rotation matrix from a quaternion

    Type Parameters

    Parameters

    • q: BaseArgType

      quaternion to create matrix from

    • Optional dst: T

      matrix to hold result. If not passed a new one is created.

    Returns T

    Mat3 made from q