I have a conceptual question about the use if CCDirector and other shared Cocos2d-x objects.
One common thing that is always done is:
CCSize s = CCDirector::sharedDirector()->getWinSize();
I usually just pass s
around where needed instead of re-calling CCDirector::sharedDirector()->getWinSize();
Is this what others do? Or do they just re-issue the call where needed?
is there a cost benefit to passing around versus just calling it where needed?