| 208 | } |
| 209 | |
| 210 | void mtxRotateZ(float* _result, float _az) |
| 211 | { |
| 212 | const float sz = sin(_az); |
| 213 | const float cz = cos(_az); |
| 214 | |
| 215 | memSet(_result, 0, sizeof(float)*16); |
| 216 | _result[ 0] = cz; |
| 217 | _result[ 1] = -sz; |
| 218 | _result[ 4] = sz; |
| 219 | _result[ 5] = cz; |
| 220 | _result[10] = 1.0f; |
| 221 | _result[15] = 1.0f; |
| 222 | } |
| 223 | |
| 224 | void mtxRotateXY(float* _result, float _ax, float _ay) |
| 225 | { |
no test coverage detected