From f09fab5b7c661bee5be1dca50abd1d7dfc425b63 Mon Sep 17 00:00:00 2001 From: Sauraen Date: Fri, 3 May 2024 22:09:39 -0700 Subject: [PATCH] Updates for occlusion planes --- gbi.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gbi.h b/gbi.h index 689d058..f179962 100644 --- a/gbi.h +++ b/gbi.h @@ -1191,6 +1191,16 @@ typedef struct { short kc; } OcclusionPlane_t; +typedef struct { + /* Four vertices of a quad, XYZ components in world space */ + struct { + short x; + short y; + short z; + } v[4]; + float weight; /* Higher if there's a lot of stuff behind it */ +} OcclusionPlaneCandidate; + typedef union { Light_t l; long long int force_structure_alignment[2];