Cleanup
This commit is contained in:
@@ -379,7 +379,7 @@ public class World{
|
|||||||
float rawDst = Intersector.distanceLinePoint(Tmp.v1.trns(prev, length), Tmp.v2.trns(next, length), Tmp.v3.set(x - world.width()/2, y - world.height()/2).rotate(offset)) / Mathf.sqrt3 - 1;
|
float rawDst = Intersector.distanceLinePoint(Tmp.v1.trns(prev, length), Tmp.v2.trns(next, length), Tmp.v3.set(x - world.width()/2, y - world.height()/2).rotate(offset)) / Mathf.sqrt3 - 1;
|
||||||
|
|
||||||
//noise
|
//noise
|
||||||
rawDst += Noise.nnoise(x, y, 11f, 7f) + Noise.nnoise(x, y, 22f, 15f);
|
rawDst += Noise.noise(x, y, 11f, 7f) + Noise.noise(x, y, 22f, 15f);
|
||||||
|
|
||||||
int circleDst = (int)(rawDst - (world.width() / 2 - circleBlend));
|
int circleDst = (int)(rawDst - (world.width() / 2 - circleBlend));
|
||||||
if(circleDst > 0){
|
if(circleDst > 0){
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=7f149f0747ff41f1bfa80e2153d2b66402ba63c1
|
archash=135280caef29618972b83c6919a48259c46f34bd
|
||||||
|
|||||||
Reference in New Issue
Block a user