Magnum/Math/Vector.h file

Class Magnum::Math::Vector, function Magnum::Math::dot(), Magnum::Math::angle()

Namespaces

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

Classes

template<std::size_t size, class T>
class Magnum::Math::Vector
Vector.

Functions

template<std::size_t size, class T>
auto dot(const Vector<size, T>& a, const Vector<size, T>& b) -> T
Dot product of two vectors.
template<std::size_t size, class FloatingPoint>
auto angle(const Vector<size, FloatingPoint>& normalizedA, const Vector<size, FloatingPoint>& normalizedB) -> Rad<FloatingPoint>
Angle between normalized vectors.
template<std::size_t size, class T>
auto equal(const Vector<size, T>& a, const Vector<size, T>& b) -> BitVector<size> new in 2019.10
Component-wise equality comparison.
template<std::size_t size, class T>
auto notEqual(const Vector<size, T>& a, const Vector<size, T>& b) -> BitVector<size> new in 2019.10
Component-wise non-equality comparison.
template<std::size_t size, class T>
auto operator<<(Debug& debug, const Vector<size, T>& value) -> Debug&
Debug output operator.