3D QT Engine

Performance improved I

ago

The performance is now improved. All meshs are sorted by materials to prevent multiple texture and shader switches per frame. In addition to this, same meshs are sorted together to avoid sending vertex arrays to the GPU.