Saga
Saga Game Engine
Loading...
Searching...
No Matches
collisionSystemOptimizationDynamic.cpp File Reference
Include dependency graph for collisionSystemOptimizationDynamic.cpp:

Namespaces

namespace  Saga
 
namespace  Saga::Systems
 

Functions

void Saga::Systems::rebuildUniformGrid (std::shared_ptr< GameWorld > world)
 Build a world's uniform grid from all objects with cylinder colliders.
 
std::optional< Collision > Saga::Systems::getClosestCollisionDynamic (std::shared_ptr< GameWorld > world, std::optional< CollisionSystemData * > systemData, Entity entity, CylinderCollider &cylinderCollider, glm::vec3 pos, glm::vec3 dir)
 Retrieve the closest dynamic collision to a cylinder.