Payload router sorter mode

This commit is contained in:
Anuken
2021-12-16 10:31:16 -05:00
parent 00ed0d017c
commit e481de9d28
27 changed files with 866 additions and 568 deletions

View File

@@ -25,6 +25,7 @@ public class Drawf{
flame(x, y, divisions, rotation, length, width, pan, 0f);
}
//TODO offset unused
public static void flame(float x, float y, int divisions, float rotation, float length, float width, float pan, float offset){
float len1 = length * pan, len2 = length * (1f - pan);
@@ -107,7 +108,8 @@ public class Drawf{
public static void dashLine(Color color, float x, float y, float x2, float y2){
int segments = (int)(Math.max(Math.abs(x - x2), Math.abs(y - y2)) / tilesize * 2);
Lines.stroke(3f, Pal.gray);
Lines.stroke(3f);
Draw.color(Pal.gray, color.a);
Lines.dashLine(x, y, x2, y2, segments);
Lines.stroke(1f, color);
Lines.dashLine(x, y, x2, y2, segments);