kgorking/ecs

Add helper classes

kgorking opened this issue · 3 comments

  • stride_view<sizeof(SomeType)>(&some_type.type_to_stride)
  • type_array from 'component_pools'. Array indexed by types instead of indices

'stride_view' would fix the 'component_pool::get_entities()' dependence on a separate std::vector

'type_array' can store 'stride_views' instead of iterator pairs

#203 stride_view done