Documentation for Rect

Former-commit-id: 4cb6ff983f7f01611847d29699dab5ca06e17d4a
This commit is contained in:
Gawaboumga
2015-12-30 15:34:36 +01:00
parent 137bc33770
commit d733a9c5d1
2 changed files with 399 additions and 25 deletions

View File

@@ -28,12 +28,12 @@ namespace Nz
~Rect() = default;
bool Contains(T X, T Y) const;
bool Contains(const Vector2<T>& point) const;
bool Contains(const Rect& rect) const;
bool Contains(const Vector2<T>& point) const;
Rect& ExtendTo(T X, T Y);
Rect& ExtendTo(const Vector2<T>& point);
Rect& ExtendTo(const Rect& rect);
Rect& ExtendTo(const Vector2<T>& point);
Vector2<T> GetCenter() const;
Vector2<T> GetCorner(RectCorner corner) const;