Added Frustum::Contains(AxisAlignedBox)

Fixed Frustum::Contains, Intersect and Plane::Distance not being const


Former-commit-id: e219a10fac78f50743f19ebe523345bcac0b0fb7
This commit is contained in:
Lynix
2013-02-20 16:41:29 +01:00
parent 6bfe9c8890
commit 28ea9fc9a0
4 changed files with 55 additions and 14 deletions

View File

@@ -24,8 +24,8 @@ class NzPlane
NzPlane(const NzPlane& plane) = default;
~NzPlane() = default;
T Distance(const NzVector3<T>& point);
T Distance(T x, T y, T z);
T Distance(const NzVector3<T>& point) const;
T Distance(T x, T y, T z) const;
NzPlane& Set(T normalX, T normalY, T normalZ, T Distance);
NzPlane& Set(const T plane[4]);