import { Matrix4x4, Vector3 } from './interfaces'; export type { Matrix4x4, Vector3 }; /** * A matrix in javascript notation is a 4x4 array of numbers. * This means that the matrix is represented as follows: * * | 0 1 2 3 | * | 4 5 6 7 | * | 8 9 10 11 | * | 12 13 14 15| * * which is row-major order. (unlike column-major order in mathematical notation). * * Since the individual components in mathematical notation look like this: * * | sx 0 0 tx | * | 0 sy 0 ty | * | 0 0 sz tz | * | 0 0 0 1 | * * we need to transpose the indices to get the correct values. * * | sx 0 0 0 | * | 0 sy 0 0 | * | 0 0 sz 0 | * | tx ty tz 1 | * */ export declare const txi = 12; export declare const tyi = 13; export declare const tzi = 14; export declare const sxi = 0; export declare const syi = 5; export declare const szi = 10; /** * Returns a new identity matrix. If out is specified, the result is copied into out. */ export declare function identityMatrix4x4(out?: Matrix4x4): Matrix4x4; export declare function setTranslation(a: Matrix4x4, x: number, y: number, z: number): Matrix4x4; export declare function setScaling(a: Matrix4x4, x: number, y: number, z: number): Matrix4x4; export declare function getTranslation(out: Vector3, a: Matrix4x4): Vector3; export declare function getScaling(out: Vector3, a: Matrix4x4): Vector3; export declare function clone(a: Matrix4x4): Matrix4x4; //# sourceMappingURL=matrix4x4.d.ts.map