linearly v0.32.0Docs


linearly v0.32.0 / mat3 / normalFromMat4

Function: normalFromMat4()

normalFromMat4(a): mat3 | null

Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix

Parameters

a: mat4

Returns

mat3 | null

Defined in

src/mat3.ts:437open in new window