Moved AxisAlignedBox::GetCorner to Cube

Former-commit-id: 59509594e6cda19089b93efd8dc77ab7bd20250c
This commit is contained in:
Lynix
2013-02-17 00:51:16 +01:00
parent f14a68fc04
commit 60d41f3c4b
5 changed files with 75 additions and 37 deletions

View File

@@ -8,6 +8,7 @@
#define NAZARA_CUBE_HPP
#include <Nazara/Core/String.hpp>
#include <Nazara/Math/Enums.hpp>
#include <Nazara/Math/Rect.hpp>
#include <Nazara/Math/Vector3.hpp>
@@ -31,6 +32,7 @@ class NzCube
NzCube& ExtendTo(const NzVector3<T>& point);
NzCube& ExtendTo(const NzCube& cube);
NzVector3<T> GetCorner(nzCorner corner) const;
NzVector3<T> GetCenter() const;
NzVector3<T> GetPosition() const;
NzVector3<T> GetSize() const;