This commit is contained in:
DeltaNedas
2020-10-17 12:28:46 +01:00
parent 54b0d308be
commit 8e0c5023c9
2 changed files with 2 additions and 2 deletions
@@ -113,7 +113,7 @@ public class PlanetRenderer implements Disposable{
if(!planet.visible()) return; if(!planet.visible()) return;
//render planet at offsetted position in the world //render planet at offsetted position in the world
planet.render(cam.combined, planet.getTransform(mat)); planet.draw(cam.combined, planet.getTransform(mat));
renderOrbit(planet); renderOrbit(planet);
+1 -1
View File
@@ -269,7 +269,7 @@ public class Planet extends UnlockableContent{
return true; return true;
} }
public void draw(Mat3D projection, Mat3D Transform){ public void draw(Mat3D projection, Mat3D transform){
mesh.render(projection, transform); mesh.render(projection, transform);
} }
} }