Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#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