aether::ecs::ecs_collisions< ECS, Entity > Class Template Reference

#include <collision_detector.hh>

Public Member Functions

 ecs_collisions (std::vector< Entity > &&_entities, aether::collision::collision_result &&_collisions, size_t _num_local)
 
template<typename... Cs>
auto local_objects ()
 
template<typename... Cs>
auto all_collisions ()
 
size_t num_collisions () const
 
size_t num_objects () const
 
size_t num_objects_local () const
 

Constructor & Destructor Documentation

template<typename ECS , typename Entity >
aether::ecs::ecs_collisions< ECS, Entity >::ecs_collisions ( std::vector< Entity > &&  _entities,
aether::collision::collision_result &&  _collisions,
size_t  _num_local 
)
inline

Member Function Documentation

template<typename ECS , typename Entity >
template<typename... Cs>
auto aether::ecs::ecs_collisions< ECS, Entity >::all_collisions ( )
inline
template<typename ECS , typename Entity >
template<typename... Cs>
auto aether::ecs::ecs_collisions< ECS, Entity >::local_objects ( )
inline
template<typename ECS , typename Entity >
size_t aether::ecs::ecs_collisions< ECS, Entity >::num_collisions ( ) const
inline
template<typename ECS , typename Entity >
size_t aether::ecs::ecs_collisions< ECS, Entity >::num_objects ( ) const
inline
template<typename ECS , typename Entity >
size_t aether::ecs::ecs_collisions< ECS, Entity >::num_objects_local ( ) const
inline