Minor power node optimizations
This commit is contained in:
@@ -173,8 +173,7 @@ public class PowerNode extends PowerBlock{
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void setupColor(float satisfaction){
|
protected void setupColor(float satisfaction){
|
||||||
Draw.color(laserColor1, laserColor2, (1f - satisfaction) * 0.86f + Mathf.absin(3f, 0.1f));
|
Draw.color(Tmp.c1.set(laserColor1).lerp(laserColor2, (1f - satisfaction) * 0.86f + Mathf.absin(3f, 0.1f)).a(Renderer.laserOpacity));
|
||||||
Draw.alpha(Renderer.laserOpacity);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void drawLaser(float x1, float y1, float x2, float y2, int size1, int size2){
|
public void drawLaser(float x1, float y1, float x2, float y2, int size1, int size2){
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
android.enableR8.fullMode=false
|
android.enableR8.fullMode=false
|
||||||
archash=8055a9104d
|
archash=010cf80f67
|
||||||
|
|||||||
Reference in New Issue
Block a user