| 1962 | |
| 1963 | COVERAGE(HMM_Scale, 1) |
| 1964 | static inline HMM_Mat4 HMM_Scale(HMM_Vec3 Scale) |
| 1965 | { |
| 1966 | ASSERT_COVERED(HMM_Scale); |
| 1967 | |
| 1968 | HMM_Mat4 Result = HMM_M4D(1.0f); |
| 1969 | Result.Elements[0][0] = Scale.X; |
| 1970 | Result.Elements[1][1] = Scale.Y; |
| 1971 | Result.Elements[2][2] = Scale.Z; |
| 1972 | |
| 1973 | return Result; |
| 1974 | } |
| 1975 | |
| 1976 | COVERAGE(HMM_InvScale, 1) |
| 1977 | static inline HMM_Mat4 HMM_InvScale(HMM_Mat4 ScaleMatrix) |