20 #ifndef ANTKEEPER_GAME_COLLISION_SYSTEM_HPP
21 #define ANTKEEPER_GAME_COLLISION_SYSTEM_HPP
37 virtual void update(
float t,
float dt);
Maintains a spatially partitioned set of collision meshes.
collision_system(entity::registry ®istry)
virtual void update(float t, float dt)
Perform's a system's update() function.
entity::id pick_nearest(const geom::ray< float, 3 > &ray, std::uint32_t flags) const
Picks the nearest entity with the specified picking flags that intersects a ray.
Abstract base class for updatable systems.
entity::registry & registry
Registry on which the system operate.
entt::registry registry
Component registry type.
entt::entity id
Entity ID type.
@ normal
Vertex normal (vec3)
Half of a line proceeding from an initial point.