fix #45

use vector instead of static array
indentation

Signed-off-by: Antoine Villeret <antoine.villeret@gmail.com>
dynamic allocation of texcoord
indentation
fix texCoords
clip size to MAXGRID

btw isn't this object obsolete now ?
Merge remote-tracking branch 'avilleret/fix_mesh'