View culling is stupid

This commit is contained in:
Dynamitos committed 2024-10-22 13:31:58 +02:00
1 parent bbb774d9df
commit 72e60cfe30
11 files changed
+118 -76

No files matched your search

+3 -1
View File
@@ -46,7 +46,9 @@ class RenderPass {
return plane;
}
void normalize_plane(Plane& plane);
void extract_planes_from_view_projection_matrix(const Matrix4 viewProj, Frustum& frustum);
struct ViewParameter {
Frustum viewFrustum;
Matrix4 viewMatrix;