POV-Ray : Newsgroups : povray.text.scene-files : Intersection Of Two Lines : Re: Intersection Of Two Lines Server Time
1 May 2024 21:22:39 EDT (-0400)
  Re: Intersection Of Two Lines  
From: Dave Blandston
Date: 30 Jul 2009 02:45:01
Message: <web.4a7141087fed82f4ed14c4120@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
>   You have potential divisions by zero in these two lines, even for completely
> valid parameters passed to the macro.

Oops, you're right - how embarrassing. This macro was just right for the project
I was working on at the time because I knew points and angles already. But
there's no excuse for not checking for division by zero. Thanks for pointing
that out.

Regards,
Dave Blandston


Post a reply to this message

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