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
Transforms the given vector using this quaternion and outputs the result.
the vector to use in transforming
the output of the transformation