|
![](/i/fill.gif) |
An idea:
Have a constructor for each object that will initialize it with the
necessary properties.
sphere ballA(<0,1,0>,1);
The object could contain other objects for texturing and have member
functions for transformations.
ballA.finish.specular = 1;
ballA.translate(<0,0,10>);
The destructor could make the object go out of scope so that other
objects could reuse the destructed object's name.
~ballA();
It looks like a total redesign. %-\
Brendan
Post a reply to this message
|
![](/i/fill.gif) |