This commit is contained in:
pyrex committed 2025-02-02 15:45:40 -08:00
1 parent c095da2492
commit 9585f5ae95
6 files changed
+133 -50

No files matched your search

+4
View File
@@ -80,6 +80,10 @@ export class Size {
this.w = w;
this.h = h;
}
add(other: Size) {
return new Size(this.w + other.w, this.h + other.h);
}
}
export class Rect {