latest LWJGL build

pull/7/head
hYdos 2020-02-26 06:13:27 +10:00
parent c41523b2fb
commit 97f7d48b64
4 changed files with 12 additions and 5 deletions

View File

@ -12,7 +12,7 @@
<properties>
<maven.compiler.target>1.11</maven.compiler.target>
<maven.compiler.source>1.11</maven.compiler.source>
<lwjgl.version>3.2.2</lwjgl.version>
<lwjgl.version>3.2.3</lwjgl.version>
<joml.version>1.9.20</joml.version>
</properties>

View File

@ -11,7 +11,7 @@ import com.github.hydos.ginger.main.settings.Constants;
public class Player extends RenderObject
{
private static float terrainHeight = 0;
private float currentSpeed = 0;
private double currentSpeed = 0;
private float currentTurn = 0;
private float upwardsSpeed = 0;
private boolean isInAir = false;

View File

@ -0,0 +1,9 @@
package com.github.hydos.ginger.engine.screen;
public abstract class Screen
{
public abstract void render();
}

View File

@ -6,10 +6,8 @@ public class Constants
public static float gravity = 0;
public static float jumpPower = 0;
public static float turnSpeed = 0;
public static float movementSpeed = 0;
public static double movementSpeed = 0;
//terrain variables
public static float terrainSize = 100;
public static float terrainMaxHeight = 10;
//FPS/UPS
public static final double NS = 1000000000 / 60.0;
}