POV-Ray : Newsgroups : povray.advanced-users : Distance to line segment? : Re: Distance to line segment? Server Time
29 Jul 2024 20:22:48 EDT (-0400)
  Re: Distance to line segment?  
From: Tor Olav Kristensen
Date: 24 Dec 2000 09:41:09
Message: <3A460805.A5B814EE@online.no>
Rune wrote:
> 
> Thank you! The macros work fine, except the one with the line
> 
> vlength(pP - pA + max(0, min(ss, 1))*vL)

That + sign should have been a - sign.

Sorry.

I guess I didn't test it thoroughly enough.


Tor Olav
-- 
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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