Math/Plane: Fix construction from 3 points

This commit is contained in:
SirLynix
2023-06-23 13:23:26 +02:00
parent b2538028b4
commit 2f1e2f94d7
3 changed files with 5 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ namespace Nz
template<typename T>
class Plane
{
// Note: this class follows the ax + by + cz + d = 0 equation, which means d is the distance from origin
public:
constexpr Plane() = default;
constexpr Plane(T normalX, T normalY, T normalZ, T Distance);