h1z1-server
    Preparing search index...

    Function isQuat

    • Checks if the given rotation is a quaternion. If not, converts the Euler angles to a quaternion.

      Parameters

      • rotation: Float32Array

        The rotation to check or convert, represented as a Float32Array.

      Returns Float32Array<ArrayBufferLike>

      The quaternion representation of the rotation.