aaaaaaaAAAAAAAAAAAAAAAAAA

This commit is contained in:
Anuken
2021-12-18 23:23:35 -05:00
parent 41b669d6e1
commit 8023ea1d34
14 changed files with 103 additions and 80 deletions

View File

@@ -224,6 +224,12 @@ public class Drawf{
shadow(x, y, rad, 1f);
}
public static void squareShadow(float x, float y, float rad, float alpha){
Draw.color(0, 0, 0, 0.4f * alpha);
Draw.rect("square-shadow", x, y, rad * Draw.xscl, rad * Draw.yscl);
Draw.color();
}
public static void shadow(float x, float y, float rad, float alpha){
Draw.color(0, 0, 0, 0.4f * alpha);
Draw.rect("circle-shadow", x, y, rad * Draw.xscl, rad * Draw.yscl);