Package: graphene

Function graphene:vec2-scale

Lambda List

graphene:vec2-scale (v factor result)

Arguments

v -- a graphene:vec2-t instance
factor -- a number coerced to a float with the scale factor
result -- a graphene:vec2-t instance for the result

Return Value

The graphene:vec2-t instance withe result vector.

Details

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

See also

2024-12-26