| 1893 | |
| 1894 | COVERAGE(HMM_Translate, 1) |
| 1895 | static inline HMM_Mat4 HMM_Translate(HMM_Vec3 Translation) |
| 1896 | { |
| 1897 | ASSERT_COVERED(HMM_Translate); |
| 1898 | |
| 1899 | HMM_Mat4 Result = HMM_M4D(1.0f); |
| 1900 | Result.Elements[3][0] = Translation.X; |
| 1901 | Result.Elements[3][1] = Translation.Y; |
| 1902 | Result.Elements[3][2] = Translation.Z; |
| 1903 | |
| 1904 | return Result; |
| 1905 | } |
| 1906 | |
| 1907 | COVERAGE(HMM_InvTranslate, 1) |
| 1908 | static inline HMM_Mat4 HMM_InvTranslate(HMM_Mat4 TranslationMatrix) |