Asteroid progress

This commit is contained in:
Anuken
2021-06-11 21:51:49 -04:00
parent c4b1bf3e55
commit ae52eaab19
5 changed files with 23 additions and 14 deletions

View File

@@ -178,7 +178,7 @@ public class PlanetRenderer implements Disposable{
}
public void renderOrbit(Planet planet){
if(planet.parent == null || !planet.visible() || orbitAlpha <= 0.02f) return;
if(planet.parent == null || !planet.visible() || orbitAlpha <= 0.02f || !planet.drawOrbit) return;
Vec3 center = planet.parent.position;
float radius = planet.orbitRadius;