Function fromQuat

  • Creates a Mat4 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

    Mat4 made from q