mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-09 10:52:25 -04:00
config fixes
This commit is contained in:
@@ -370,6 +370,11 @@ template<> struct TBox<TVec2<f32> > {
|
||||
addPos(TVec2<f32>(x, y));
|
||||
}
|
||||
|
||||
void setSize(TVec2<f32> size) {
|
||||
f.x = size.x;
|
||||
f.y = size.y;
|
||||
}
|
||||
|
||||
void addPos(const TVec2<f32>& pos) {
|
||||
i.add(pos);
|
||||
f.add(pos);
|
||||
|
||||
Reference in New Issue
Block a user