implemented GLClipping