UNPKG

@thi.ng/matrices

Version:

Matrix & quaternion operations for 2D/3D geometry processing

21 lines 648 B
import type { MatOpMU } from "./api.js"; /** * Converts given 4x4 matrix to a 3x3 normal matrix, i.e. the transposed * inverse of its upper-left 3x3 region. If `out` is null a new result * matrix will be created. Returns `undefined` if matrix inversion * failed. * * @param out - * @param m - */ export declare const normal33: MatOpMU; /** * Converts given 4x4 matrix to a 4x4 matrix normal matrix, i.e. the * transposed inverse. Writes results to `m` if `out` is null. Returns * `undefined` if matrix inversion failed. * * @param out - * @param m - */ export declare const normal44: MatOpMU; //# sourceMappingURL=normal-mat.d.ts.map