Results 1 to 2 of 2

Thread: Any thoughts about a common base class?

  1. #1

    Any thoughts about a common base class?

    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.

  2. #2

    Any thoughts about a common base class?

    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.

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki

    Phoenix Forum


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts