remove unused methods

This commit is contained in:
leejet 2026-01-22 23:38:07 +08:00
parent 6c634edd4c
commit 1b56fa2032

View File

@ -1705,18 +1705,6 @@ struct SDGenerationParams {
} }
} }
void set_width_if_unset(int w) {
if (width <= 0) {
width = w;
}
}
void set_height_if_unset(int h) {
if (height <= 0) {
height = h;
}
}
bool width_and_height_are_set() const { bool width_and_height_are_set() const {
return width > 0 && height > 0; return width > 0 && height > 0;
} }