mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-21 22:10:59 -04:00
Misc cleanup
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user