| 29 | } |
| 30 | |
| 31 | static Plane NormalizePlane(Plane plane) |
| 32 | { |
| 33 | float length = dmVMath::Length(plane.getXYZ()); |
| 34 | return plane / length; |
| 35 | } |
| 36 | |
| 37 | // Gribb-Hartmann |
| 38 | // https://www.gamedevs.org/uploads/fast-extraction-viewing-frustum-planes-from-world-view-projection-matrix.pdf |
no test coverage detected