openGL homework