linearly v0.32.0 • Docs
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
The newly created matrix