Merge branch 'master' of https://github.com/Anuken/Mindustry into rendering-optimizations

This commit is contained in:
Anuken
2018-11-17 11:24:37 -05:00
29 changed files with 185 additions and 538 deletions
@@ -80,7 +80,7 @@ public class MinimapRenderer implements Disposable{
for(Unit unit : units){
float rx = (unit.x - rect.x) / rect.width * w, ry = (unit.y - rect.y) / rect.width * h;
Draw.color(unit.getTeam().color);
Draw.rect("white", x + rx, y + ry, w / (sz * 2), h / (sz * 2));
Draw.crect(Draw.getBlankRegion(), x + rx, y + ry, w / (sz * 2), h / (sz * 2));
}
Draw.color();