POV-Ray : Newsgroups : povray.general : trace() direction vector : Re: trace() direction vector Server Time
30 Jul 2024 00:23:52 EDT (-0400)
  Re: trace() direction vector  
From: clipka
Date: 2 Apr 2010 13:54:31
Message: <4bb62f57$1@news.povray.org>
Am 02.04.2010 19:35, schrieb Kenneth:

>> #local Direction = (B-A);
>
> A more general rule-of-thumb would be
>
> #local Direction = (<...ending point...>  -<...starting point...>)
>
> in case MadKairon decided to start at B and end at A. But perhaps that's obvious
> from your reply.  ;-)

Not from my reply, but from his question :-P

But of course you're right, the general formula is... well, more general 
;-).


Post a reply to this message

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