Magnum/Math/Vector2.h file

Class Magnum::Math::Vector2, function Magnum::Math::cross()

Contents

Namespaces

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

Classes

template<class T>
class Magnum::Math::Vector2
Two-component vector.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Vector2<T>>
Configuration value parser and writer.

Functions

template<class T>
auto cross(const Vector2<T>& a, const Vector2<T>& b) -> T
2D cross product