title: incompatible types in assignment of ‘float’ to ‘float [16]’
body: <p>I have struct:</p>
  
  <pre><code>struct mat4 {
      float m[16];
      mat4();
      ...
      float *getFloat();
  }
  
  float *mat4::getFloat() {
      return m;
  }
  </code></pre>
  
  <p>Now I want to make m equal to m from newly created matrix r:</p>
  
  <pre><code>void mat4::rotate(vec3 v) {
      mat4 r, rx, ry, rz;
      ...
      matrix calculations
      ...
      m = *r.getFloat();
  }
  </code></pre>
  
  <p>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?</p>