|
humm I think it’s good thing to pass the data to another variabale
vector $test[3] = {<<1,1,1>>,<<2,2,2>>,<<3,3,3>>};
vector $test2=$test[2];
print ($test2.x)
////////////////////
you can also pass it to float array or int array instade of vectors, which I prefer
float $test3[]=$test[2];
print $test3[0];
Author: salwanbadra
|