Bezier curves & OpenGL student project