Added [Cube/Rect]::Get[Negative/Positive]Vertex

Former-commit-id: 66e4851be7751402077ea67df0554a51f3d28df2
This commit is contained in:
Lynix
2013-02-17 23:41:43 +01:00
parent 4a11ff269f
commit ee7a9c572b
4 changed files with 66 additions and 0 deletions

View File

@@ -30,7 +30,9 @@ class NzRect
NzRect& ExtendTo(const NzRect& rect);
NzVector2<T> GetCenter() const;
NzVector2<T> GetNegativeVertex(const NzVector2<T>& normal) const;
NzVector2<T> GetPosition() const;
NzVector2<T> GetPositiveVertex(const NzVector2<T>& normal) const;
NzVector2<T> GetSize() const;
bool Intersect(const NzRect& rect, NzRect* intersection = nullptr) const;