Skip to content

translation4

const translation4: DualFn<(vector) => m4x4f>

Defined in: packages/typegpu/src/data/matrix.ts:577

Creates a 4-by-4 matrix which translates by the given vector v.

The vector by which to translate.

The translation matrix.