yolkbot
    Preparing search index...

    Function quatFromEuler

    • Builds a quaternion from euler angles, matching Babylon's Quaternion.RotationYawPitchRoll

      Parameters

      • yaw: number

        Rotation around Y

      • pitch: number

        Rotation around X

      • roll: number

        Rotation around Z

      Returns Quat

      The equivalent quaternion, in (x, y, z, w) order