Planet progress

This commit is contained in:
Anuken
2021-06-11 11:31:21 -04:00
parent 31ebb1d156
commit 537c8f3cc5
4 changed files with 4 additions and 5 deletions

View File

@@ -139,8 +139,6 @@ public class PlanetRenderer implements Disposable{
//render planet at offsetted position in the world
planet.draw(cam.combined, planet.getTransform(mat));
renderOrbit(planet);
for(Planet child : planet.children){
renderPlanet(child);
}
@@ -173,6 +171,8 @@ public class PlanetRenderer implements Disposable{
for(Planet child : planet.children){
renderTransparent(child);
}
renderOrbit(planet);
}
public void renderOrbit(Planet planet){