Skip to content

Documentation / @sw-file-lib/core / math / parseMat3

Function: parseMat3() ​

ts
function parseMat3(value: string): Mat3 | undefined;

Defined in: math/mat3.ts:72

Parse a comma-separated row-major 3x3 matrix.

Returns undefined when the string does not contain exactly nine numeric entries.

Parameters ​

ParameterType
valuestring

Returns ​

Mat3 | undefined