|
Toast Engine
|
Public Member Functions | |
| AABBTree (size_t expected_shapes=0) | |
| auto | insert (ShapeID shape, const AABB &bounds) -> TreeNodeID |
| void | remove (TreeNodeID leaf_id) |
| auto | updateLeaf (TreeNodeID leaf_id, const AABB &tight_bounds) -> bool |
| auto | query (const AABB &bounds, ShapeID ignored_shape={}) const -> std::vector< ShapeID > |
| template<typename Visit> | |
| void | raycast (glm::vec3 origin, glm::vec3 inv_dir, float max_distance, Visit &&visit) const |
| auto | debugNodes () const -> std::vector< AABBTreeDebugNode > |
| auto | size () const -> size_t |
| auto | validate () const -> bool |