Mostly finished T2 spider unit

This commit is contained in:
Anuken
2022-02-01 18:05:56 -05:00
parent 092ce9d5ff
commit c0c7e0f468
17 changed files with 111 additions and 24 deletions
@@ -57,6 +57,10 @@ public class OverlayRenderer{
}
}
if(pos.isEmpty()){
return;
}
//if this is laggy, it could be shoved in another thread.
var result = Voronoi.generate(pos.toArray(Vec2.class), 0, world.unitWidth(), 0, world.unitHeight());
for(var edge : result){