Refactor MatrixStack and RenderScope #59

This commit is contained in:
2026-03-25 17:58:08 +01:00
parent 6873f76c43
commit 3d315fa2cc
6 changed files with 8 additions and 31 deletions
@@ -24,7 +24,6 @@ public interface RenderScope {
public int getScaledWindowHeight();
/* Saturn common sprites */
public void drawTexture(IdentifierRef sprite, int x, int y, float u, float v, int width, int height,
int color);
@@ -44,25 +43,15 @@ public interface RenderScope {
public boolean scissorContains(int x, int y);
public void draw();
public void drawItem(ItemStackRef item, int x, int y);
public void drawItem(ItemStackRef stack, int x, int y, int seed);
public void drawItem(ItemStackRef stack, int x, int y, int seed, int z);
public void drawItemWithoutEntity(ItemStackRef stack, int x, int y);
public void drawItemWithoutEntity(ItemStackRef stack, int x, int y, int seed);
public void drawSpriteStretched(SpriteRef sprite, int x, int y, int width, int height);
public void drawSpriteStretched(SpriteRef sprite, int x, int y, int width, int height, int color);
public void fill(int x1, int y1, int x2, int y2, int color);
public void fill(int x1, int y1, int x2, int y2, int z, int color);
public void drawBorder(int x, int y, int width, int height, int color);
}