Hi, it happen to me this thing: I create lightmap[4] element and dimensione map became 4; is I do lightmap[6] = Light(); then 6 element...why this?
Qt Code:
  1. map<int,Light> lightmap;
  2. lightmap[4] = Light();
To copy to clipboard, switch view to plain text mode