Skip to content

Commit 0ec9109

Browse files
committed
fout the slash cut
1 parent 0335aaa commit 0ec9109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/progressed/entities/bullet/energy/SlashBlackHoleBulletType.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public void draw(Bullet b){
5858
SlashRenderer.addSlash(b.x, b.y, ang, off);
5959

6060
ang *= Mathf.radDeg;
61-
Tmp.v1.trns(ang, slashLength);
62-
Tmp.v2.trns(ang + 90f, Mathf.lerp(slashWidthFrom, slashWidthTo, sfin));
61+
Tmp.v1.trns(ang, slashLength * fout);
62+
Tmp.v2.trns(ang + 90f, Mathf.lerp(slashWidthFrom, slashWidthTo, sfin) * fout);
6363

6464
Draw.color(BHDrawf.teamColor(b, slashColor));
6565
Fill.quad(

0 commit comments

Comments
 (0)