diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java new file mode 100644 index 0000000..93e104e --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java @@ -0,0 +1,22 @@ +package cc.polyfrost.oneconfig.lwjgl; + +public class Scissor { + public int x; + public int y; + public int width; + public int height; + + public Scissor(int x, int y, int width, int height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } + + public Scissor(Scissor scissor) { + this.x = scissor.x; + this.y = scissor.y; + this.width = scissor.width; + this.height = scissor.height; + } +} |