POV-Ray : Newsgroups : povray.general : Numbers approaching infinity : Re: Numbers approaching infinity Server Time
18 Apr 2024 19:00:51 EDT (-0400)
  Re: Numbers approaching infinity  
From: Mike Horvath
Date: 28 Mar 2021 20:13:15
Message: <60611b9b$1@news.povray.org>
On 3/28/2021 8:09 PM, Mike Horvath wrote:
> tan(x) approaches infinity (i.e. undefined) as x approaches 90 degrees.
> 
> How do I detect when this happens and instead replace tan(x) with a very 
> very large number that is not undefined?
> 
> Thanks.
> 
> 
> Mike


Or, approached differently, how do I express the largest angle that is 
less than 90 degrees?

Thanks.


Mike


Post a reply to this message

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