Removed old Matrix4 class
This commit is contained in:
@@ -143,9 +143,7 @@ public class AndroidLauncher extends AndroidApplication{
|
|||||||
|
|
||||||
}, new AndroidApplicationConfiguration(){{
|
}, new AndroidApplicationConfiguration(){{
|
||||||
useImmersiveMode = true;
|
useImmersiveMode = true;
|
||||||
depth = 0;
|
|
||||||
hideStatusBar = true;
|
hideStatusBar = true;
|
||||||
//errorHandler = ModCrashHandler::handle;
|
|
||||||
}});
|
}});
|
||||||
checkFiles(getIntent());
|
checkFiles(getIntent());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import arc.scene.ui.layout.*;
|
|||||||
import arc.util.*;
|
import arc.util.*;
|
||||||
import arc.util.async.*;
|
import arc.util.async.*;
|
||||||
import mindustry.core.*;
|
import mindustry.core.*;
|
||||||
import mindustry.ctype.Content;
|
import mindustry.ctype.*;
|
||||||
import mindustry.game.EventType.*;
|
import mindustry.game.EventType.*;
|
||||||
import mindustry.gen.*;
|
import mindustry.gen.*;
|
||||||
import mindustry.graphics.*;
|
import mindustry.graphics.*;
|
||||||
|
|||||||
@@ -12,9 +12,10 @@ public class PlanetRenderer{
|
|||||||
|
|
||||||
public void draw(){
|
public void draw(){
|
||||||
Draw.flush();
|
Draw.flush();
|
||||||
|
Gl.clear(Gl.depthBufferBit);
|
||||||
|
|
||||||
Tmp.v1.trns(Time.time() * 2f, 30f);
|
Tmp.v1.trns(Time.time() * 2f, 30f);
|
||||||
cam.position.set(Tmp.v1.x, Tmp.v1.y, 0);
|
cam.position.set(Tmp.v1.x, Tmp.v1.y, 5);
|
||||||
cam.resize(Core.graphics.getWidth(), Core.graphics.getHeight());
|
cam.resize(Core.graphics.getWidth(), Core.graphics.getHeight());
|
||||||
cam.lookAt(0, 0, 0);
|
cam.lookAt(0, 0, 0);
|
||||||
cam.update();
|
cam.update();
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ public class DesktopLauncher extends ClientLauncher{
|
|||||||
new SdlApplication(new DesktopLauncher(arg), new SdlConfig(){{
|
new SdlApplication(new DesktopLauncher(arg), new SdlConfig(){{
|
||||||
title = "Mindustry";
|
title = "Mindustry";
|
||||||
maximized = true;
|
maximized = true;
|
||||||
depth = 0;
|
|
||||||
stencil = 0;
|
stencil = 0;
|
||||||
width = 900;
|
width = 900;
|
||||||
height = 700;
|
height = 700;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=04a41e39be5445d58c94209ec370e355f85f28b1
|
archash=c365173e586b84c7edd062d82675001c7b96b0b8
|
||||||
|
|||||||
Reference in New Issue
Block a user