I have struct:

```
struct mat4 {
    float m[16];
    mat4();
    ...
    float *getFloat();
}

float *mat4::getFloat() {
    return m;
}

```

Now I want to make m equal to m from newly created matrix r:

```
void mat4::rotate(vec3 v) {
    mat4 r, rx, ry, rz;
    ...
    matrix calculations
    ...
    m = *r.getFloat();
}

```

But this gives me error "incompatible types in assignment of ‘float’ to ‘float [16]’"
I have searched Google and tried different ways but no success so far.
Please tell me how could I do that?