Somthing isn't right here and I can't seem to figure it out. I want to define a variable type called MATRIX4D as so:
In several functions I want to reference this type as a pointer such as:Code:typedef float MATRIX4D[4][4];
poMatrix seems to be 3D array now, and I get the following compile error:Code:MATRIX4D oMatrix; MATRIX4D *poMatrix = &oMatrix[0][0] func(poMatrix)];
Any help would be appreciatedCode:error C2440: 'initializing' : cannot convert from 'float *' to 'float (*)[4][4]'
Thanks!