use glArrayElement
Merge pull request #1 from aillue/feature/index

use glArrayElement