linearly v0.32.0Docs


linearly v0.32.0 / mat2 / fromMat2d

Function: fromMat2d()

fromMat2d(m): mat2

Copies the values from a mat2d, omitting the translation components

Parameters

m: mat2d

The matrix to copy from

Returns

mat2

A newly created matrix

Defined in

src/mat2.ts:368open in new window