dc14636e68
Refactors the BVH to make it more generic and customizable. Instead of hard coding the system of pairable_mask and pairable_type into the BVH, this information is no longer stored internally, and instead the BVH uses callbacks both for determining whether pairs of objects can pair with each other, and for filtering cull / intersection tests. In addition, instead of hard coding the number of trees, the BVH now supports up to 32 trees, and each object can supply a tree collision mask to determine which trees it can collide against. This enables the BVH to scale to either the two or 3 trees needed in physics, and the single tree used without pairing in Godot 4 render tree. |
||
---|---|---|
.. | ||
portals | ||
rasterizer.cpp | ||
rasterizer.h | ||
SCsub | ||
shader_language.cpp | ||
shader_language.h | ||
shader_types.cpp | ||
shader_types.h | ||
visual_server_canvas.cpp | ||
visual_server_canvas.h | ||
visual_server_globals.cpp | ||
visual_server_globals.h | ||
visual_server_raster.cpp | ||
visual_server_raster.h | ||
visual_server_scene.cpp | ||
visual_server_scene.h | ||
visual_server_viewport.cpp | ||
visual_server_viewport.h | ||
visual_server_wrap_mt.cpp | ||
visual_server_wrap_mt.h |