mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Merge branch 'master' of https://github.com/Anuken/Mindustry into static-block-optimization
This commit is contained in:
@@ -225,7 +225,7 @@ public class Weather extends UnlockableContent{
|
||||
Draw.alpha(Mathf.slope(life) * opacity);
|
||||
|
||||
float space = 45f;
|
||||
for(int j : new int[]{-1, 1}){
|
||||
for(int j : Mathf.signs){
|
||||
Tmp.v1.trns(90f + j*space, 1f + 5f * life);
|
||||
Lines.lineAngle(x + Tmp.v1.x, y + Tmp.v1.y, 90f + j*space, 3f * (1f - life));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user