CubeCaps back in GLES mode.
This includes quite some refactoring. For the cube cap a VBO is used instead of glLists and all the required transformations are moved into paintCap() which makes paintScreen more clean. Currently the mirroring of bottom texture is still missing and cylinder and sphere caps are not yet ported to using VBO. I wouldn't be surprised if it is broken for legacy GL atm.
Showing with 157 additions and 173 deletions