Hey everyone,
is it possible to pass all values from a one dimensional array to a geometry generating function without referencing the index of each single element?
simple Array:
dim sides[]
for i=1 to 3
verts[i] = i
next i
This is possible:
block verts[1], verts[2], verts[3]
But i want to pass the whole array at once e.g. something like this (not possible):
block verts
This would be extremly helpful for more complicated geometry functions like the tube function. Example:
TUBE 4, 7, 16+32,
0, 0, 0,
-0.5, 0, 0,
-0.5, -0.5, 0,
0, -0.5, 0,
0 +0.2, 0, 0, 0,
0, 0, 0, 0,
0, 2, 0, 0,
1, 2, 0, 0,
1, 0, 0, 0,
0, 0, 0, 0,
0, 0+0.2, 0, 0
For these i would like to just pass an array with the right values (for example different profiles) that can vary in length. Does someone know how this can be achieved? Thanks in advance!