hh
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user