Cleanup
This commit is contained in:
@@ -41,6 +41,7 @@ public class Drawf{
|
||||
Draw.reset();
|
||||
}
|
||||
|
||||
/** Sets Draw.z to the text layer, and returns the previous layer. */
|
||||
public static float text(){
|
||||
float z = Draw.z();
|
||||
if(renderer.pixelator.enabled()){
|
||||
@@ -275,7 +276,7 @@ public class Drawf{
|
||||
Draw.reset();
|
||||
}
|
||||
|
||||
/** Draws a sprite that should be lightwise correct. Provided sprite must be symmetrical. */
|
||||
/** Draws a sprite that should be light-wise correct, when rotated. Provided sprite must be symmetrical in shape. */
|
||||
public static void spinSprite(TextureRegion region, float x, float y, float r){
|
||||
r = Mathf.mod(r, 90f);
|
||||
Draw.rect(region, x, y, r);
|
||||
|
||||
Reference in New Issue
Block a user