Vec3.scale

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

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

Parameters

factor float

the scalar factor

res Vec3

return location for the result vector

Meta