Hi,
how come in my *.mm file, I cannot do this:
float*data[1000][4][4];
data[0][0] = {0.0f, 0.4f, 0.1f, 0.5f};
(here I get errors about curly braces being in the wrong place)
??
I also tried
float * data[100][4][4] = {0};
float * data[100][4][4] = {nil};
float * data[100][4][4] = {NULL};
They all give errors.
What's the proper way to do this then?
how come in my *.mm file, I cannot do this:
float*data[1000][4][4];
data[0][0] = {0.0f, 0.4f, 0.1f, 0.5f};
(here I get errors about curly braces being in the wrong place)
??
I also tried
float * data[100][4][4] = {0};
float * data[100][4][4] = {nil};
float * data[100][4][4] = {NULL};
They all give errors.
What's the proper way to do this then?