Saga
Saga Game Engine
|
#include "collisionSystemOptimizationDynamic.h"
#include "Engine/Components/collider.h"
#include "Engine/Components/transform.h"
#include "collisionSystemOptimizationStatic.h"
#include "Engine/Utils/geometry/cylinder.h"
#include <unordered_set>
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. | |