|
| void | Saga::Systems::runOverGridCells (CollisionSystemData &collisionSystemData, glm::vec3 pos, glm::vec3 size, std::function< void(Entity)> callback) |
| | Calls a function over the grid cells of a uniform grid that includes a certain bounding box.
|
| |
| void | Saga::Systems::addToUniformGrid (CollisionSystemData &collisionSystemData, Entity entity, CylinderCollider &cylinderCollider, Transform &transform) |
| | Add an entity to the uniform grid. Here, the entity must contain a cylinder collider and transform, and we add this entity to any grid cell that the cylinder specified by the collider and transform intersects.
|
| |
| void | Saga::Systems::removeFromUniformGrid (CollisionSystemData &collisionSystemData, Entity entity, CylinderCollider &cylinderCollider, Transform &transform) |
| | Remove an entity from the uniform grid. Here, the entity must contain a cylinder collider and transform, and we add this entity to any grid cell that the cylinder specified by the collider and transform intersects.
|
| |