Hi there! This is a simple question, which I do not know how to answer. I am making a simple OpenGL game, and I have a class called Scene. This class has many coordinates and attributes. What do you think it is better:
1) Create a function that receive, as a parameter, the Scene class and ask for its attributes.
2) A public method Scene::draw().
I am asking this because I do not think that is good to have OpenGL function calls inside the Scene class, it makes the class less generic.
One solution could be create a second class, like a wrapper, that has one Scene and a draw method.
Thanks any opinion.