| 2015 | |
| 2016 | COVERAGE(HMM_LookAt_RH, 1) |
| 2017 | static inline HMM_Mat4 HMM_LookAt_RH(HMM_Vec3 Eye, HMM_Vec3 Center, HMM_Vec3 Up) |
| 2018 | { |
| 2019 | ASSERT_COVERED(HMM_LookAt_RH); |
| 2020 | |
| 2021 | HMM_Vec3 F = HMM_NormV3(HMM_SubV3(Center, Eye)); |
| 2022 | HMM_Vec3 S = HMM_NormV3(HMM_Cross(F, Up)); |
| 2023 | HMM_Vec3 U = HMM_Cross(S, F); |
| 2024 | |
| 2025 | return _HMM_LookAt(F, S, U, Eye); |
| 2026 | } |
| 2027 | |
| 2028 | COVERAGE(HMM_LookAt_LH, 1) |
| 2029 | static inline HMM_Mat4 HMM_LookAt_LH(HMM_Vec3 Eye, HMM_Vec3 Center, HMM_Vec3 Up) |
no test coverage detected