|
|
I knew I was missing something. That's what I get for trying to post on a
Saturday morning. Man I feel like such a tool.
Kevin Jackson-Mead
http://www.mindspring.com/~jacksonmead
Chris Huff wrote:
> In article <39B10CF1.42249F5C@mindspring.com>, Kevin Jackson-Mead
> <jac### [at] mindspringcom> wrote:
>
> > Maybe I'm missing something here, but this isn't going to work. All
> > you're doing is adding up the vector components. Yes, it will be
> > true for the zero vector, but it will also be true for vectors like
> > <2, -2, 0> and <3, 2, -5>, etc.
>
> Wrong. The vector < 2,-2, 0> will add up to 4, and < 3, 2,-5> will add
> up to 10. That is what the abs() function is for, it gets the absolute
> value of the number.
>
> --
> Christopher James Huff
> Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
> TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
>
> <><
Post a reply to this message
|
|