|
|
Can you give us some hints on how to use the rounded prism
macro please?
--
Cheers
Steve email mailto:ste### [at] zeroppsuklinuxnet
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
4:23am up 25 days, 6:44, 2 users, load average: 1.89, 1.43, 1.50
Post a reply to this message
|
|
|
|
Steve wrote:
> Can you give us some hints on how to use the rounded prism
> macro please?
roundprism(h1,h2,points[n],r)
h1 and h2 are like the first two values in a normal prism
Points is an array holding the points of the prism, in clockwise order
(looking down from +y). The first point should not be repeated at the end
like a normal prism, and you can't make an interior cut-out section like
with a normal prism.
r is the rounding radius
(Looks like i forgot to put this one in! oops) The macro call must be
inside a union or merge.
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
My raytracing gallery: http://davidf.faricy.net/
Post a reply to this message
|
|