Skip to content

scaling4

scaling4(vector): m4x4f

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

Creates a 4-by-4 matrix which scales in each dimension by an amount given by the corresponding entry in the given vector.

v3f

A vector of three entries specifying the factor by which to scale in each dimension.

m4x4f

The scaling matrix.