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

@@ -34,7 +34,9 @@ class NzCube
NzVector3<T> GetCorner(nzCorner corner) const;
NzVector3<T> GetCenter() const;
NzVector3<T> GetNegativeVertex(const NzVector3<T>& normal) const;
NzVector3<T> GetPosition() const;
NzVector3<T> GetPositiveVertex(const NzVector3<T>& normal) const;
NzVector3<T> GetSize() const;
bool Intersect(const NzCube& cube, NzCube* intersection = nullptr) const;