| 17 | const xVec3 snow_dvel = { 0.1f, 0.1f, 0.1f }; |
| 18 | |
| 19 | void xClimateVecFromAngle(F32 angleDegrees, xVec3* vec) |
| 20 | { |
| 21 | xMat3x3 Mat; |
| 22 | |
| 23 | xMat3x3Identity(&Mat); |
| 24 | xMat3x3Euler(&Mat, (PI * angleDegrees) / ONEEIGHTY, 0.0f, 0.0f); |
| 25 | xVec3Init(vec, 0.0f, 0.0f, 1.0f); |
| 26 | xMat3x3LMulVec(vec, &Mat, vec); |
| 27 | } |
| 28 | |
| 29 | void xClimateInit(_tagClimate* climate) |
| 30 | { |
no test coverage detected