| 597 | } |
| 598 | |
| 599 | Mat4 ToCameraRelative(const Mat4& worldLightVP, const Vec3& camPos) |
| 600 | { |
| 601 | return Mul(worldLightVP, Translate(camPos)); |
| 602 | } |
| 603 | |
| 604 | Mat4 CascadeLightVPStable(const std::array<Vec3, 8>& corners, float t0, float t1, const Vec3& sunDir, const Vec3& up, |
| 605 | int resolution, float zPad, const Vec3& camPos) |
no test coverage detected