Removed old Matrix4 class

This commit is contained in:
Anuken
2020-01-07 11:16:04 -05:00
parent c8980163e9
commit c611ce9d58
5 changed files with 4 additions and 6 deletions

View File

@@ -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());
} }

View File

@@ -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.*;

View File

@@ -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();

View File

@@ -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;

View File

@@ -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