POV-Ray : Newsgroups : povray.general : Vector functions AAARRRRGGHH!!!!! : Re: Vector functions AAARRRRGGHH!!!!! Server Time
5 Aug 2024 02:22:15 EDT (-0400)
  Re: Vector functions AAARRRRGGHH!!!!!  
From: Jellby
Date: 19 Dec 2002 14:24:34
Message: <3e021cf2@news.povray.org>
gonzo wrote:

> 5. If a vector is just point in space, how can it have length & direction?

Well, a vector is not just a point. You can think of vectors as of arrows, 
they have both length and direction. But if you know where the tail of the 
arrow is, then the head of the arrow gives you a point in space; when it's 
not specified otherwise, the tail is at the origin (the point <0,0,0>), so 
a vector is an arrow with length and direction, but it's a point too. And 
it can be used for quite a lot of things, sometimes with no meaning, it can 
be used, for example, to store 3 numbers (like in colour vectors), or to 
store a direction in space and a number (the lenght of the vector, which 
doesn't need to have a meaning related to the direction)

-- 

Linux User #289967 (counter.li.org)
PGP Pub Key ID: 0x01A95F99 (pgp.escomplinux.org)


Post a reply to this message

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