aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/lwjgl/Scissor.java
blob: 5709823f28e56a1e845822f1d2dc7c103b85f2b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package cc.polyfrost.oneconfig.lwjgl;

public class Scissor {
    public float x;
    public float y;
    public float width;
    public float height;

    public Scissor(float x, float y, float width, float 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;
    }
}