POV-Ray : Newsgroups : povray.general : A little vector problem : A little vector problem Server Time
20 Nov 2024 12:38:16 EST (-0500)
  A little vector problem  
From: Micha Riser
Date: 30 Aug 2001 14:35:38
Message: <3b8e877a$1@news.povray.org>
What is the easiest (fastest) way to check in pov whether the angle between 
two normalized vectors is >90 degrees? I am currently testing if
vlength(A-B)>sqrt(2)

And what is the easiest way to check if two colinear vectors point in the 
same direction?

- Micha


Post a reply to this message

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