yolkbot
    Preparing search index...

    Function fromEuler

    • Builds a rotation matrix from euler angles, matching Babylon's Matrix.RotationYawPitchRoll

      Parameters

      • yaw: number

        Rotation around Y

      • pitch: number

        Rotation around X

      • roll: number

        Rotation around Z

      Returns Mat3

      The equivalent rotation matrix