Documentation for Plane + add MakeXY methods

Former-commit-id: 688a65089e6e332e3a2ffbed7966e4f9185b79cc
This commit is contained in:
Gawaboumga
2015-12-30 15:32:41 +01:00
parent f131fd2121
commit 53f4bacab6
2 changed files with 263 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2015 Jérôme Leclercq
// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
@@ -26,8 +26,12 @@ namespace Nz
Plane(const Plane& plane) = default;
~Plane() = default;
T Distance(const Vector3<T>& point) const;
T Distance(T x, T y, T z) const;
T Distance(const Vector3<T>& point) const;
Plane& MakeXY();
Plane& MakeXZ();
Plane& MakeYZ();
Plane& Set(T normalX, T normalY, T normalZ, T Distance);
Plane& Set(const T plane[4]);