Weird parameter to function

I am trying to use a particular function found online, but one of the parameters is weird:

Here is the function:
WorleyNoise::noise3D(float at[3], long maxOrder,
float *F, float(*delta)[3], unsigned long *ID)

at and maxOrder are input variables, and F, delta, and ID are returned by reference. Unfortunately, whoever designed this function left it up to the user to allocate space for these variables. I don't really know how to set up the delta variable. It appears to be a 2 dimensional array of size maxOrder, since it used in the body like this:

for (i = 0; i < maxOrder; i++)
{
F[i] = sqrt(F[i]) * (1.0 / DENSITY_ADJUSTMENT);
delta[i][0] *= (1.0 / DENSITY_ADJUSTMENT);
delta[i][1] *= (1.0 / DENSITY_ADJUSTMENT);
delta[i][2] *= (1.0 / DENSITY_ADJUSTMENT);
}

But how should I set it up in my calling method? The compiler says the type is float (*)[3]
I tried float delta[3][2] but that wouldn't work.

Thank you
Robert
You were close - you need delta[...][3].

Regards
wow I feel retarded, thank you though! =D
Topic archived. No new replies allowed.