JKamue / SpaceFlight

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

[Bug] Planet Screen fill wrong #34

Closed JKamue closed 4 years ago

JKamue commented 4 years ago

Describe the bug Planet fills whole screen when it is not supposed to

To Reproduce Start a rocket, fly it down the curvature of the earth. You will notice that the planet suddenly fills the whole screen when it is not supposed to.

Expected behavior The planet is misbehaving. Usually it calculates wether the rocket is within it's bound by using a rectangle and the intersect method. Now I realize that this doesn't work because it will also show the whole screen if you are on a corner.

Screenshots https://i.ibb.co/X2GKvmx/Anmerkung-2020-07-12-105009.png

Additional context Drawing of wrong object detection for better understanding: https://i.ibb.co/0YxN7nb/Anmerkung-2020-07-12-105221.png

JKamue commented 4 years ago

Ticket will be closed as soon as this gets merged into master, we have multiple branches with different fixes at the moment