I have some dinamically created walls on the canvas, and I know the start end the end positions for every wall. The positions consist of the X and Z coordinate (y coordinate is constant, because the wall's height is predefined).
So, technically, I have some sections on the 2D plane (with start and end points).
The thing what I need is the polygon, wrap exactly the polygon which made by walls from plan view. Can anyone describe or link me an algorythm to do this?
Thanks in advance, R