JKamue / SpaceFlight

Rocket simulator that will probably never get finished
GNU General Public License v3.0
9 stars 1 forks source link

[Bug] Planets get mirrored on one zoom level #9

Open JKamue opened 4 years ago

JKamue commented 4 years ago

Describe the bug When changing the zoom to a specific zoom level near a planet the planet sometimes gets mirrored.

To Reproduce Steps to reproduce the behavior:

  1. Start any level
  2. Start zooming around
  3. At one zoom level you will see the bug

Expected behavior Planet should not suddenly flip around

Screenshots

Version The bug was known for quite some while, but it is included in the as of now latest commit ca836e4d77bd40509f101f85eabf8c1ef04c3fc2

Additional context I really have no clue and tried to take a look at it multiple times. But maybe a different way of thinking will fix it fast. Also interesting that only Terrain objects are mirrored.

nalsai commented 4 years ago

This happens at zoom level 4, approximately between y 565 and -565, when the planet border is not outside of the display area (Tested with the Atlas V 401)

JKamue commented 4 years ago

Sebastian Fay did a lot of testing on this yesterday but refused to document his findings in this ticket. I will send a screenshot of our chat privately