Magnum/Math/Vector.h file

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

Contents

Namespaces

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

Classes

template<std::size_t size, class T>
class Magnum::Math::Vector
Vector.
template<std::size_t size, class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Vector<size, T>>
Configuration value parser and writer.

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 operator<<(Corrade::Utility::Debug& debug, const Vector<size, T>& value) -> Corrade::Utility::Debug&
Debug output operator.