It probably wasn't that complicated. The light gun was used as a quicker means of selecting an object being drawn on the display. It doesn't seem to have ever been used to select or draw things in blank space.
Since a vector display always knows what object it is drawing a particular time, the presence of light at the tip of the gun is all you need to identify the object.
Since a vector display always knows what object it is drawing a particular time, the presence of light at the tip of the gun is all you need to identify the object.