initial screen size is read from the config

This commit is contained in:
minjaesong
2019-01-22 20:56:16 +09:00
parent 53c45d6829
commit 450874540c
4 changed files with 44 additions and 27 deletions

View File

@@ -129,7 +129,7 @@ public class LwjglGraphics implements Graphics {
// only for a > 0 && b > 0
private float getMagnitudeDifference(float a, float b) {
if (a < getMagnitudeDifferenceEpsilon || b < getMagnitudeDifferenceEpsilon) {
return a + b;
return (a + b) / getMagnitudeDifferenceEpsilon;
}
if (a > b) {