POV-Ray : Newsgroups : povray.general : Can anyone explain this : Re: Can anyone explain this Server Time
13 Aug 2024 01:20:06 EDT (-0400)
  Re: Can anyone explain this  
From: Nathan Kopp
Date: 23 Nov 1998 19:07:07
Message: <3659F7A9.74DCB072@Kopp.com>
Mick Hazelgrove wrote:
> 
> Can anyone explain why there is a gap between the triangles?
> 
> Mick
> 

Change the code to compute the base from
  #declare Base = Circ/8;
to
  #declare Base = 2*Rad*tan(pi/8);

I got this formula from
http://www.geom.umn.edu/docs/reference/CRC-formulas/book.html
(in section 5.3 "Regular Polygons")

-Nathan Kopp


Post a reply to this message

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