added Vector2D::clamp
This commit is contained in:
parent
9d6999345e
commit
e81de82706
2 changed files with 10 additions and 0 deletions
|
|
@ -35,5 +35,7 @@ class Vector2D {
|
|||
return a.x != x || a.y != y;
|
||||
}
|
||||
|
||||
Vector2D clamp(const Vector2D& min, const Vector2D& max = Vector2D());
|
||||
|
||||
Vector2D floor();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue