|
![](/i/fill.gif) |
On Fri, 11 Mar 2005 12:36:15 -0000, "Tom Melly" <pov### [at] tomandlu co uk> wrote:
> ... well, I suspect it is. What's the 'classic' function for a triangle?
>
> Oh, here's mine:
> max(abs(x) + (max(y,0)-1), y*-1)
f_triangle written in SDL is available in iso-csg. It can be also hardcoded in
custom builds (MegaPOV) as described at
http://www.abx.art.pl/pov/patches/f_triangle.php
ABX
Post a reply to this message
|
![](/i/fill.gif) |