quat.rotateX [method]
quat.rotateX( real a[, bool reset ])
generate a rotation quaternion (rotation around X 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