quat.rotate_axis_angle_v3 [method]
quat.rotate_axis_angle( vec3 v, real a[, bool reset ])
generate a rotation quaternion (rotation around specified axis) and multiply or set it to this quaternion
- if
reset
is true, the generated quaternion is directly set to this quaternion- otherwise, generated quaternion is right-multiplied to this quaternion
- if current quaternion is an identity quaternion,
reset
has no effect