Math/Plane: Rename Distance method to SignedDistance

This commit is contained in:
SirLynix
2023-06-22 17:56:18 +02:00
parent 8481cc7c15
commit b2538028b4
6 changed files with 29 additions and 48 deletions

View File

@@ -30,11 +30,10 @@ namespace Nz
constexpr bool ApproxEqual(const Plane& plane, T maxDifference = std::numeric_limits<T>::epsilon()) const;
constexpr T Distance(T x, T y, T z) const;
constexpr T Distance(const Vector3<T>& point) const;
Plane& Normalize(T* length = nullptr);
constexpr T SignedDistance(const Vector3<T>& point) const;
std::string ToString() const;
constexpr Plane& operator=(const Plane& other) = default;