fixup LS scaling impl
This commit is contained in:
parent
3d83a0bc5f
commit
ef12120270
3 changed files with 19 additions and 8 deletions
|
|
@ -39,6 +39,10 @@ class Vector2D {
|
|||
return Vector2D(this->x * a.x, this->y * a.y);
|
||||
}
|
||||
|
||||
Vector2D operator/(const Vector2D& a) const {
|
||||
return Vector2D(this->x / a.x, this->y / a.y);
|
||||
}
|
||||
|
||||
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
|
||||
|
||||
Vector2D floor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue