summaryrefslogtreecommitdiff
path: root/core/variant/variant.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r--core/variant/variant.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h
index ea75dce4ce..212f94a9a8 100644
--- a/core/variant/variant.h
+++ b/core/variant/variant.h
@@ -142,14 +142,20 @@ private:
Transform2D _transform2d;
::AABB _aabb;
};
+ union BucketMedium {
+ BucketMedium() {}
+ ~BucketMedium() {}
+ Basis _basis;
+ Transform3D _transform3d;
+ };
union BucketLarge {
BucketLarge() {}
~BucketLarge() {}
- Basis _basis;
- Transform3D _transform3d;
+ Projection _projection;
};
static PagedAllocator<BucketSmall, true> _bucket_small;
+ static PagedAllocator<BucketMedium, true> _bucket_medium;
static PagedAllocator<BucketLarge, true> _bucket_large;
};