UltimatePea / CityBuilder

A Simcity Clone Plus Other Features
GNU General Public License v3.0
6 stars 2 forks source link

Some times two way intersection is not displaying properly #7

Open UltimatePea opened 6 years ago

UltimatePea commented 6 years ago

right upper skew

UltimatePea commented 6 years ago

Incorrect: (Upper Right Smooth)

screen shot 2018-01-13 at 11 51 15 pm

Correct: (Bottom Left Smooth)

screen shot 2018-01-13 at 11 52 00 pm
UltimatePea commented 6 years ago

The bug occurred after I introduced a change to the Math3d Algorithm. The positioning of the inner and outer piece relies on the Math 3d's calculation on whether the two vectors meet. I guess the reason may be related to the rotation style of outgoing vector. We need someone to look into this.