This commit is contained in:
Anuken 2021-02-16 09:13:44 -05:00
parent 957583071d
commit 9d5454e5ce
4 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -208,7 +208,7 @@ public class Renderer implements ApplicationListener{
Draw.draw(Layer.background, this::drawBackground);
Draw.draw(Layer.floor, blocks.floor::drawFloor);
Draw.draw(Layer.block - 1, blocks::drawShadows);
Draw.draw(Layer.block, () -> {
Draw.draw(Layer.block - 0.09f, () -> {
blocks.floor.beginDraw();
blocks.floor.drawLayer(CacheLayer.walls);
blocks.floor.endDraw();

View File

@ -119,6 +119,7 @@ public class FloorRenderer implements Disposable{
return;
}
Draw.flush();
cbatch.setProjection(Core.camera.mat);
cbatch.beginDraw();

View File

@ -100,7 +100,7 @@ public class Placement{
i ++;
}
if(!addedLast) result.add(base.peek());
if(!addedLast && !base.isEmpty()) result.add(base.peek());
points.clear();
points.addAll(result);