linearly v0.32.0Docs


linearly v0.32.0 / mat2d / fromMat2

Function: fromMat2()

fromMat2(m): mat2d

Copies a the values from mat2, assuming the translation component is [0, 0]

Parameters

m: mat2

The matrix to convert

Returns

mat2d

The newly created matrix

Defined in

src/mat2d.ts:611open in new window