Vec4.scale

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

class Vec4
void
scale

Parameters

factor float

the scalar factor

res graphene.vec4.Vec4

return location for the result vector