Magnum/DimensionTraits.h file

Class Magnum::DimensionTraits, alias Magnum::VectorTypeFor, Magnum::RangeTypeFor, Magnum::MatrixTypeFor.

Namespaces

namespace Magnum
Root namespace.

Classes

template<UnsignedInt dimensions, class T>
struct Magnum::DimensionTraits
Matrix and vector specializations for given dimension count.

Typedefs

template<UnsignedInt dimensions, class T>
using VectorTypeFor = typename DimensionTraits<dimensions, T>::VectorType
Vector type for given dimension count and type.
template<UnsignedInt dimensions, class T>
using RangeTypeFor = typename DimensionTraits<dimensions, T>::RangeType
Range type for given dimension count and type.
template<UnsignedInt dimensions, class T>
using MatrixTypeFor = typename DimensionTraits<dimensions, T>::MatrixType
Matrix type for given dimension count and type.