Magnum/Math/Swizzle.h file

Function Magnum::Math::swizzle()

Contents

Namespaces

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

Functions

template<char... components, class T>
auto swizzle(const T& vector) -> Implementation::TypeForSize<sizeof...(components), T>::Type constexpr
Swizzle Vector components.