sidewalklabs / sumo-web3d

Web-based 3D visualization of SUMO microsimulations using TraCI and three.js.
Eclipse Public License 2.0
162 stars 64 forks source link

If all the nodes are in a line the renderer fails. #16

Open eugenevinitsky opened 5 years ago

eugenevinitsky commented 5 years ago

In the Sumo3D.ts class this.transform is initialized based the nodes passed to it. If all the nodes are in a line with y = 0, it doesn't correctly create a rectangle around it.