LMPacker fix

This commit is contained in:
MihailRis
2023-11-23 12:28:28 +03:00
parent a6a1e7866a
commit 1cf4cb727f
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -16,9 +16,10 @@ struct rectangle {
int height;
int extX = 0;
int extY = 0;
uint idx;
rectangle(int x, int y, int width, int height)
: x(x), y(y), width(width), height(height){
rectangle(uint idx, int x, int y, int width, int height)
: idx(idx), x(x), y(y), width(width), height(height){
}
};