@kognifai/cogsengine
    Preparing search index...

    Function fromMat3

    • Function

      Creates a quaternion from the given 3x3 rotation matrix.

      NOTE: The resultant quaternion is not normalized, so you should be sure to renormalize the quaternion yourself where necessary.

      Parameters

      • out: quat

        the receiving quaternion

      • m: ReadonlyMat3

        rotation matrix

      Returns quat

      out