|
|
In article <399D6B3D.51EACD7E@ida.utb.hb.se>, sa9### [at] idautbhbse
wrote:
> Location, as I thought of it, should be one of the common attributes
> for all objects.
...snip...
Still, what *is* the location? A sphere has a center, but what is the
center of a cone? The middle of the bounding box? The center of gravity?
What is the "location" of an infinite plane? A complex mesh or CSG?
Each object should have it's own variables available, but a single
"location" variable for all of them isn't possible. Maybe a
GetLocation() method for all objects in the finite object portion of the
heirarchy, but you still have to define the location of an arbitrary
object.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|