scaling4
constscaling4:DualFn<(vector) =>m4x4f>
Defined in: packages/typegpu/src/data/matrix.ts:599
Creates a 4-by-4 matrix which scales in each dimension by an amount given by the corresponding entry in the given vector.
A vector of three entries specifying the factor by which to scale in each dimension.
Returns
Section titled βReturnsβThe scaling matrix.