We have a walls array which contains a list of objects. Each of these objects has a pair of screen_corners. The Three.js application pushes points into two different THREE.Geome