|
![](/i/fill.gif) |
aha. I think when I tried it last night, I was using .x, .y, .z, and .t. Thanks,
will try your suggestion.
Ron Parker wrote:
> On Tue, 07 Sep 1999 11:03:46 -0400, Greg M. Johnson wrote:
> >Okay then, can you tell this quite ignorant user how to write a macro that
> >will compute the length of a 4d vector?
> >I know it's simply the square root of the sum of the squares of the individual
> >components.
> >I actually already tried it and think I ran into some error messages...
>
> I think you'll have to do something like
>
> sqrt( V.red*V.red+V.green*V.green+V.blue*V.blue+V.filter*V.filter )
>
> though I haven't tested it.
Post a reply to this message
|
![](/i/fill.gif) |