second version of openGL (does not verify collisions)