linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / fromTranslation
Function: fromTranslation()
fromTranslation(
v
):mat2d
Creates a matrix from a vector translation
Parameters
• v: number
| vec2
linearly v0.32.0 • Docs
linearly v0.32.0 / mat2d / fromTranslation
fromTranslation(
v
):mat2d
Creates a matrix from a vector translation
• v: number
| vec2