quat.rotate_axis_angle [method]
quat.rotate_axis_angle( real x, real y, real z, 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