Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualbelfegor

Posted 06 May 2013 - 03:41 PM

...
EntityManager::entityVector vEntities;
     entityManager.EntitiesWithComponents<BoundingVolume>(vEntities);
...

^ So each frame you must build/extract list of entities based on system?

How do you do that with minimal performance loss?


#1belfegor

Posted 06 May 2013 - 03:41 PM

...
EntityManager::entityVector vEntities;
     entityManager.EntitiesWithComponents<BoundingVolume>(vEntities);
...

^ So each frame you must build/extract list of entities based on system, to be able to iterate?

How do you do that with minimal performance loss?


PARTNERS