search - Searching in only one subarray of 3d array in Processing -
I have an int value of the 3D array and I want to search only for one particular value with only one eyebrows. While I can loop my way through every possible combination of the following code.
array [numerical] [1-255 [1-255];
It seems like overkill I have come across the foreach type and thought that my search might be the answer, but either it is not or I want to work it well Does it not understand why someone can suggest how it should be done?
This foreach and for for loop will have almost identical processing time for an array of that size though it It may seem that it is not overkill, then you will need to triple nested for the loop, after that you will need to see a statement that the number you want.
Comments
Post a Comment