> - vector<shared_ptr<Engine> >::iterator itFirst =
> scene->engines.begin();
> - vector<shared_ptr<Engine> >::iterator itLast =
> scene->engines.end();
> - for ( ;itFirst!=itLast; ++itFirst )
> - {
Use
FOREACH(const shared_ptr<Engine>& e, scene->engines){...}
that will make your code a lot more readable.
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp