POV-Ray : Newsgroups : povray.newusers : Atan function : Re: Atan function Server Time
29 Apr 2024 02:15:46 EDT (-0400)
  Re: Atan function  
From: Warp
Date: 10 Nov 2014 14:04:59
Message: <54610c5a@news.povray.org>
kevva <gli### [at] hotmailcom> wrote:
> When using the Atan2(x,y) function I get a domain error when one or both of the
> vars goes to zero. Yet the ?Help? says that ?it  will return the correct numbers
> any way. What Am I missing?

Normally atan2() should malfunction only if both parameters are zero
(because a zero vector has no defined angle). Are you sure that's not
the case here?

-- 
                                                          - Warp


Post a reply to this message

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