Vec4.scale

Multiplies all components of the given vector with the given scalar @factor.

class Vec4
void
scale
(
float factor
,
out Vec4 res
)

Parameters

factor float

the scalar factor

res Vec4

return location for the result vector

Meta