Function fromMat

  • Creates a quaternion from the given rotation matrix.

    The created quaternion is not normalized.

    Type Parameters

    Parameters

    • m: BaseArgType

      rotation matrix

    • Optional dst: T

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

    Returns T

    the result