Light RGB clamp + Arc update

This commit is contained in:
Anuken
2022-02-02 11:54:39 -05:00
parent cc221d669a
commit ca6723e696
3 changed files with 4 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ public class EnergyFieldAbility extends Ability{
for(int i = 0; i < sectors; i++){
float rot = unit.rotation + i * 360f/sectors - Time.time * rotateSpeed;
Lines.swirl(rx, ry, orbRadius + 3f, sectorRad, rot);
Lines.arc(rx, ry, orbRadius + 3f, sectorRad, rot);
}
Lines.stroke(Lines.getStroke() * curStroke);
@@ -78,7 +78,7 @@ public class EnergyFieldAbility extends Ability{
if(curStroke > 0){
for(int i = 0; i < sectors; i++){
float rot = unit.rotation + i * 360f/sectors + Time.time * rotateSpeed;
Lines.swirl(rx, ry, range, sectorRad, rot);
Lines.arc(rx, ry, range, sectorRad, rot);
}
}