View Full Version : Any thoughts about a common base class?

14-11-2003, 09:15 PM
What do you think about a GLXBase that contains basic position/rotation information, a list of children and a Render procedure that does all the push/pop of the matrixes, translation and rotation.
Every Objekt like Camera, Model would inherit this base Class, this way you could link them all logicaly together.

17-11-2003, 10:17 AM
Iteresting idea, however the main concept with the components is that they should be independent from each other.

But this could be implemented by exending the sprite engine aswell by adding a new SpriteClass.

I have hovever some thoughts of creating an common object interface to make the object loader's more lookalike.