Skip to content

translate4

const translate4: DualFn<(matrix, vector) => m4x4f>

Defined in: packages/typegpu/src/std/matrix.ts:29

Translates the given 4-by-4 matrix by the given vector.

The matrix to be modified.

The vector by which to translate the matrix.

The translated matrix.