import type { Matrix, ReadonlyMatrix } from "./matrix.js"; import type { Vector } from "./vector.js"; /** * Converts Euler angles in XYZ order to a rotation matrix. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/xyz2R.m * * @param x - Rotation around the x-axis in radians. * @param y - Rotation around the y-axis in radians. * @param z - Rotation around the z-axis in radians. * * @returns A rotation matrix. */ export declare function eulerXYZToRotationMatrix(x: number, y: number, z: number): Matrix; /** * Converts Euler angles in ZYX order to a rotation matrix. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/zyx2R.m * * @param z - Rotation around the z-axis in radians. * @param y - Rotation around the y-axis in radians. * @param x - Rotation around the x-axis in radians. * * @returns A rotation matrix. */ export declare function eulerZYXToRotationMatrix(z: number, y: number, x: number): Matrix; /** * Converts a rotation matrix to Euler angles in XYZ order. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/R2xyz.m * * @param rotation - A rotation matrix. * * @returns The Euler angles in XYZ order. */ export declare function rotationMatrixToEulerXYZ([[r11, r12, r13], [r21, r22, r23], [, , r33],]: ReadonlyMatrix): Vector; /** * Converts a rotation matrix to Euler angles in ZYX order. * * @see https://github.com/FFI-no/n-vector/blob/f77f43d18ddb6b8ea4e1a8bb23a53700af965abb/nvector/R2zyx.m * * @param rotation - A rotation matrix. * * @returns The Euler angles in ZYX order. */ export declare function rotationMatrixToEulerZYX([[r11, r12], [r21, r22], [r31, r32, r33],]: ReadonlyMatrix): Vector;