Implemented indexed meshes.