assigning an array dynamically
in
Programming Questions
•
2 years ago
Sorry if it is elsewhere in the forum, I am new to processing, and this is a very basic problem:
Do i need to assign the dimension of an array when i create it? Can they grow dynamically, if so, what is the syntax?
so far i have
Do i need to assign the dimension of an array when i create it? Can they grow dynamically, if so, what is the syntax?
so far i have
- point3d[] pointHolder = new point3d[(w/skip)*(h/skip)];
- pointHolder[x*y]= new point3d(x,y,z);
- point3d[] pointHolder;
- pointHolder[,push(new point3d(x,y,z));
1