summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer_dummy.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/visual/rasterizer_dummy.h')
-rw-r--r--servers/visual/rasterizer_dummy.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/visual/rasterizer_dummy.h b/servers/visual/rasterizer_dummy.h
index e1fa521284..880e19c9b0 100644
--- a/servers/visual/rasterizer_dummy.h
+++ b/servers/visual/rasterizer_dummy.h
@@ -189,6 +189,7 @@ class RasterizerDummy : public Rasterizer {
Vector<Surface*> surfaces;
int morph_target_count;
VS::MorphTargetMode morph_target_mode;
+ AABB custom_aabb;
mutable uint64_t last_pass;
Mesh() {
@@ -464,6 +465,10 @@ public:
virtual AABB mesh_get_aabb(RID p_mesh) const;
+ virtual void mesh_set_custom_aabb(RID p_mesh,const AABB& p_aabb);
+ virtual AABB mesh_get_custom_aabb(RID p_mesh) const;
+
+
/* MULTIMESH API */
virtual RID multimesh_create();