Quaternion.scale

Scales all the elements of a #graphene_quaternion_t q using the given scalar factor.

class Quaternion
void
scale

Parameters

factor float

a scaling factor

res graphene.quaternion.Quaternion

the result of the operation