|
|
Hello,
As you can see this is an array question.
I want to insert 3 elements ( a 3-D vector) into an array, something like;
#declare X = array[10][10][4];
#declare my_array[i][j][?]= vcross(A,B);
What would go in place of the "?"
Currently I have to declare them one at at time, something like;
#declare X = array[10][10][4];
#declare D = vcross(A,B);
#declare my_array[i][j][1]= D.x;
#declare my_array[i][j][2]= D.y;
#declare my_array[i][j][3]= D.z;
Thanks
Post a reply to this message
|
|