mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Support custom AABB within MultiMesh resources
- Supporting custom AABB on the MultiMesh resource itself allows us to prevent costly runtime AABB recalculations. - Should also help improve CPU Particle performance.
This commit is contained in:
@@ -335,6 +335,9 @@ public:
|
||||
FUNC3(multimesh_instance_set_color, RID, int, const Color &)
|
||||
FUNC3(multimesh_instance_set_custom_data, RID, int, const Color &)
|
||||
|
||||
FUNC2(multimesh_set_custom_aabb, RID, const AABB &)
|
||||
FUNC1RC(AABB, multimesh_get_custom_aabb, RID)
|
||||
|
||||
FUNC1RC(RID, multimesh_get_mesh, RID)
|
||||
FUNC1RC(AABB, multimesh_get_aabb, RID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user