Misc cleanup

This commit is contained in:
LagoLunatic
2025-12-27 17:03:26 -05:00
parent 47ce38557b
commit 48dcebd9e8
10 changed files with 34 additions and 35 deletions
+5 -2
View File
@@ -369,9 +369,12 @@ template<> struct TBox<TVec2<f32> > {
};
template <typename T>
struct TBox2 : TBox<TVec2<T> > {
struct TBox2 : public TBox<TVec2<T> > {
TBox2() {}
TBox2(const TVec2<f32>& i, const TVec2<f32> f) { set(i, f); }
TBox2(const TVec2<f32>& _i, const TVec2<f32>& _f) {
TBox<TVec2<T> >::i.set(_i);
TBox<TVec2<T> >::f.set(_f);
}
TBox2(f32 x0, f32 y0, f32 x1, f32 y1) { set(x0, y0, x1, y1); }
void absolute() {