linearly v0.32.0Docs


linearly v0.32.0 / mat4 / translate

Function: translate()

translate(a, v): mat4

Translate a mat4 by the given vector

Parameters

a: mat4

the matrix to translate

v: vec3

vector to translate by

Returns

mat4

Defined in

src/mat4.ts:343open in new window