Properly fixed clip order code

Move th clip order fix from getPoints in the cube class to the OpenGL
code