Light cleanup

This commit is contained in:
Anuken
2020-04-24 11:08:02 -04:00
parent 1b2e10d355
commit 5d4ca753a7
20 changed files with 42 additions and 34 deletions

View File

@@ -26,10 +26,6 @@ public class LightRenderer{
lights.add(run);
}
public void add(Position pos, float radius, Color color, float opacity){
add(pos.getX(), pos.getY(), radius, color, opacity);
}
public void add(float x, float y, float radius, Color color, float opacity){
if(!enabled()) return;
@@ -52,10 +48,6 @@ public class LightRenderer{
});
}
public void line(float x, float y, float x2, float y2){
line(x, y, x2, y2, 30, Color.orange, 0.3f);
}
public void line(float x, float y, float x2, float y2, float stroke, Color tint, float alpha){
if(!enabled()) return;