can anyone spot what is wrong with the following vec_set() instruction?:
VECTOR vec_n;
vec_set(vec_n, vector(random(500) -250, random(500) -250, random(500) -250);
-added parenthesis around "random(500) -250" but that didn't fix it.
-substituted "vec_n" for "vec_n.x" but that didn't fix it either.
I get a "sytax error" for that vec_set instruction
I have avoided the problem subtituting the "vec_set" instrucion with this:
vec_n.x=random(500) -250;
vec_n.y=random(500) -250;
vec_n.z=random(500) -250;
But I am still curious why that instrucion gave a syntax error...
Can any of you experts spot it?