|
|
In article <3c77bbc9@news.povray.org>, "Zero" <zer### [at] yahoocom> wrote:
> Isn't that how the tetrahedron is defined in shapes.inc? I didn't check it,
> but I believe all geometrical solids are defined using intersections of
> planes, so all you need is #include "shapes.inc" - all this math for nothing
> ;-)
The file is "shapes2.inc", and the definition isn't quite the same:
#declare Tetrahedron =
intersection
{plane {-y,1}
plane {-z,1 rotate <19.47, 0, 0>}
plane {-z,1 rotate <19.47, -120, 0>}
plane {-z,1 rotate <19.47, 120, 0>}
}
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|