Original Post
Hello everyone, It occurs to me that this is probably something that people don't really worry about and will just write it one way and "who cares" :) But, here is the question: I currently have a Scene class, that has a group of cameras stored in it... when rendering this scene, should I do something like this: Scene::draw(){ camera->applyOffset(); drawObjects(); } OR, should I do this: Scene::draw(){ camera->render(this); } camera::render(Scene *scene){ applyOffset(); scene->drawObjects(); } It occurs to me that in the second version I get the ability to subclass the camera and potentially do wierd things with the subclassed camera.. ie. Different transitions between camera positions etc. Any comments from the community on this? Recon the extra de-referencing is going to cause much of a performance difference? Am I free to choose without many caveats to worry about? Thanks all --Josh