translate4
translate4(
matrix
,vector
):m4x4f
Defined in: packages/typegpu/src/std/matrix.ts:15
Translates the given 4-by-4 matrix by the given vector.
Parameters
Section titled “Parameters”matrix
Section titled “matrix”The matrix to be modified.
vector
Section titled “vector”The vector by which to translate the matrix.
Returns
Section titled “Returns”The translated matrix.