"Bald Eagle" <cre### [at] netscapenet> wrote:
> Just unloading some more thoughts for the record.
If we had a struct specific for spheres, we'd still need to initialize it and
declare a sphere with it to later be able to identify that one specific sphere.
When I need something like that I use an external program to generate a large
array with struct like data and generate the spheres from that with a macro
loop. The index of the sphere is then the identifier. All sphere parameters are
accessible and modifiable through the array. Multiple sphere types, like your
isotopes, are then multiple type specific arrays. You could also put your
metadata in an/the array.
If we had structs, we'd put structs in the array(s) just the same way.
Post a reply to this message