POV-Ray : Newsgroups : povray.general : My triangle function is stupid : My triangle function is stupid Server Time
1 Aug 2024 22:23:35 EDT (-0400)
  My triangle function is stupid  
From: Tom Melly
Date: 11 Mar 2005 07:38:14
Message: <42319136$1@news.povray.org>
... 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)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.