Package: graphene

Function graphene:quaternion-scale

Lambda List

graphene:quaternion-scale (quaternion factor result)

Arguments

quaternion -- a graphene:quaternion-t instance
factor -- a number coerced to a float with the scaling factor
result -- a graphene:quaternion-t instance for the result

Return Value

The graphene:quaternion-t instance with the result.

Details

Scales all the elements of a quaternion using the given scalar factor.
 

See also

#2023-12-10