e.rotation, 360f in randlLenVectors unneeded, remove them. (#5242)
This commit is contained in:
@@ -429,7 +429,7 @@ public class Fx{
|
|||||||
color(e.color);
|
color(e.color);
|
||||||
stroke(e.fout() * 1.5f);
|
stroke(e.fout() * 1.5f);
|
||||||
|
|
||||||
randLenVectors(e.id, 8, e.finpow() * 17f, e.rotation, 360f, (x, y) -> {
|
randLenVectors(e.id, 8, e.finpow() * 17f, (x, y) -> {
|
||||||
float ang = Mathf.angle(x, y);
|
float ang = Mathf.angle(x, y);
|
||||||
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
||||||
});
|
});
|
||||||
@@ -439,7 +439,7 @@ public class Fx{
|
|||||||
color(Color.white);
|
color(Color.white);
|
||||||
stroke(e.fout() * 1.5f);
|
stroke(e.fout() * 1.5f);
|
||||||
|
|
||||||
randLenVectors(e.id, 8, e.finpow() * 17f, e.rotation, 360f, (x, y) -> {
|
randLenVectors(e.id, 8, e.finpow() * 17f, (x, y) -> {
|
||||||
float ang = Mathf.angle(x, y);
|
float ang = Mathf.angle(x, y);
|
||||||
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
||||||
});
|
});
|
||||||
@@ -449,7 +449,7 @@ public class Fx{
|
|||||||
color(e.color);
|
color(e.color);
|
||||||
stroke(e.fout() * 2f);
|
stroke(e.fout() * 2f);
|
||||||
|
|
||||||
randLenVectors(e.id, 6, e.finpow() * 18f, e.rotation, 360f, (x, y) -> {
|
randLenVectors(e.id, 6, e.finpow() * 18f, (x, y) -> {
|
||||||
float ang = Mathf.angle(x, y);
|
float ang = Mathf.angle(x, y);
|
||||||
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
||||||
});
|
});
|
||||||
@@ -459,7 +459,7 @@ public class Fx{
|
|||||||
color(Pal.meltdownHit);
|
color(Pal.meltdownHit);
|
||||||
stroke(e.fout() * 2f);
|
stroke(e.fout() * 2f);
|
||||||
|
|
||||||
randLenVectors(e.id, 6, e.finpow() * 18f, e.rotation, 360f, (x, y) -> {
|
randLenVectors(e.id, 6, e.finpow() * 18f, (x, y) -> {
|
||||||
float ang = Mathf.angle(x, y);
|
float ang = Mathf.angle(x, y);
|
||||||
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
||||||
});
|
});
|
||||||
@@ -469,7 +469,7 @@ public class Fx{
|
|||||||
color(Pal.heal);
|
color(Pal.heal);
|
||||||
stroke(e.fout() * 2f);
|
stroke(e.fout() * 2f);
|
||||||
|
|
||||||
randLenVectors(e.id, 6, e.finpow() * 18f, e.rotation, 360f, (x, y) -> {
|
randLenVectors(e.id, 6, e.finpow() * 18f, (x, y) -> {
|
||||||
float ang = Mathf.angle(x, y);
|
float ang = Mathf.angle(x, y);
|
||||||
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
lineAngle(e.x + x, e.y + y, ang, e.fout() * 4 + 1f);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user