transform

Transforms the given vector using this quaternion and outputs the result.

Parameters

vec

the vector to use in transforming

result

the output of the transformation