View Single Post
# 4 21-06-2004 , 01:57 AM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Ah... Now I see what you mean. It is because of automatic type conversion. In this case the .position vector is automatically converted to a float by calculating a magnitude (length) of it.

These two will yield to the same result:

float $nz = <<1, 2, 3>>;
float $nz = mag(<<1, 2, 3>>);


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!