summaryrefslogtreecommitdiffstats
path: root/core/math/bvh_public.inc
Commit message (Collapse)AuthorAgeFilesLines
* Fixup BVH debugging statementsRicardo Buring2022-07-251-3/+3
|
* BVH - Sync BVH with 3.xlawnjelly2022-02-041-35/+111
| | | | | Templated mask checks and generic NUM_TREES Fix leaking leaves
* BVH - fix stale current_tree in deactivate function [4.x]lawnjelly2021-05-291-22/+24
| | | | | | Changes passing of current_tree from a member variable to a function argument, making bugs due to stale state less likely. Fix a bug in deactivate where current_tree variable was stale. This may have resulted in visual anomalies.
* Dynamic BVH broadphase in 2D & 3D Godot PhysicsPouleyKetchoupp2021-05-101-0/+421
Port lawnjelly's dynamic BVH implementation from 3.x to be used in both 2D and 3D broadphases. Removed alternative broadphase implementations which are not meant to be used anymore since they are much slower. Includes changes in Rect2, Vector2, Vector3 that help with the template implementation of the dynamic BVH by uniformizing the interface between 2D and 3D math. Co-authored-by: lawnjelly <lawnjelly@gmail.com>