Magnum/Math/Vector4.h file

Class Magnum::Math::Vector4, function Magnum::Math::planeEquation()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.

Classes

template<class T>
class Magnum::Math::Vector4
Four-component vector.

Functions

template<class T>
auto planeEquation(const Vector3<T>& p0, const Vector3<T>& p1, const Vector3<T>& p2) -> Vector4<T>
Create a plane equation from three points.
template<class T>
auto planeEquation(const Vector3<T>& normal, const Vector3<T>& point) -> Vector4<T>
Create a plane equation from a normal and a point.