Resize on border (#1347)
This commit is contained in:
parent
b944386ca5
commit
c92e0c05e4
11 changed files with 228 additions and 51 deletions
|
|
@ -42,8 +42,10 @@ class Vector2D {
|
|||
Vector2D operator/(const Vector2D& a) const {
|
||||
return Vector2D(this->x / a.x, this->y / a.y);
|
||||
}
|
||||
|
||||
double distance(const Vector2D& other);
|
||||
|
||||
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
|
||||
|
||||
Vector2D floor();
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue