like on that other one, this seems faster and easier if you pass a color pointer, and use glColor4fv()