float& GetMatrix(IModel* model)

{

float matrix[4][4]; //// not my code

model->GetMatrix( &matrix[0][0] ); // not my code

return &matrix;

}

ok , im working with an engine and the float matrix[4][4] and model line are what needed to get the array .

but how do i return it, cant figure out how..

and how would i invoke it

float mymatyrix[4][4] = GetMatrix(myModel);

i cant figure this out , help please