Refactor done

This commit is contained in:
IlyaShurupov 2024-10-14 10:17:00 +03:00 committed by Ilya Shurupov
parent d6025bc4e0
commit 837d8dc507
25 changed files with 797 additions and 610 deletions

View file

@ -97,6 +97,10 @@ namespace tp {
}
}
Rect relative() const {
return { { 0, 0 }, size };
}
// argument isInside
bool isInside(const Vec2<Type>& p) const { return isInside(p.x, p.y); }