scale

fun scale(factor: Float, res: Quaternion)

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

Since

1.10

Parameters

factor

a scaling factor

res

the result of the operation