mat4.rotateX [method]
mat4.rotateX( real a[, bool reset ])
generate a rotation matrix (rotation around X axis) and multiply or set it to this matrix
- if
reset
is true, the generated matrix is directly set to this matrix- otherwise, generated matrix is right-multiplied to this matrix
- if current matrix is an identity matrix,
reset
has no effect