Save up to 130KB of RAM at literally zero cost (#786)

This commit is contained in:
arthurtilly authored and GitHub committed 2024-04-21 20:40:47 -04:00
1 parent e494069b0a
commit 0005bbbd6a
5 files changed
+58 -51

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ enum SpatialPartitions {
NUM_SPATIAL_PARTITIONS
};
typedef struct SurfaceNode SpatialPartitionCell[NUM_SPATIAL_PARTITIONS];
typedef struct SurfaceNode *SpatialPartitionCell[NUM_SPATIAL_PARTITIONS];
extern SpatialPartitionCell gStaticSurfacePartition[NUM_CELLS][NUM_CELLS];
extern SpatialPartitionCell gDynamicSurfacePartition[NUM_CELLS][NUM_CELLS];