allow modded planets to customize drawing

This commit is contained in:
DeltaNedas
2020-10-16 23:00:06 +01:00
parent 5ee4101ba4
commit 97b0461d7f
2 changed files with 11 additions and 1 deletions

View File

@@ -110,8 +110,10 @@ public class PlanetRenderer implements Disposable{
}
private void renderPlanet(Planet planet){
if(!planet.visible()) return;
//render planet at offsetted position in the world
planet.mesh.render(cam.combined, planet.getTransform(mat));
planet.render(cam.combined, planet.getTransform(mat));
renderOrbit(planet);