linearly v0.32.0Docs


linearly v0.32.0 / mat2d / translate

Function: translate()

translate(m, v): mat2d

Translates the mat2d by the dimensions in the given vec2

Parameters

m: mat2d

v: vec2

Returns

mat2d

Defined in

src/mat2d.ts:243open in new window