Lets say I make a function that takes a float*, the idea being that the function can access the values stored in the array.
bool Checkf(float *colors);
now inside the function i do this.
float tred = colors[0];
float tgrn = colors[1];
float tblu = colors[2];
is that right for what I want? I thought it would have to be
float tred = *colors[0];
but it gives me an indirection error when i do that.
The problem im haveing is with this function, I dont think its getting the right values from the passed array, but it still might be something else I havent thought of yet.