Skip to content

translation4

translation4(vector): m4x4f

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

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

v3f

The vector by which to translate.

m4x4f

The translation matrix.