#include <Magnum/DimensionTraits.h>
template<UnsignedInt dimensions, class T>
DimensionTraits struct
Matrix and vector specializations for given dimension count.
Public types
- using VectorType = U
- Vector type.
- using RangeType = U
- Range type.
- using MatrixType = U
- Matrix type.
Typedef documentation
template<UnsignedInt dimensions, class T>
typedef U Magnum:: DimensionTraits<dimensions, T>:: VectorType
Vector type.
Math::
template<UnsignedInt dimensions, class T>
typedef U Magnum:: DimensionTraits<dimensions, T>:: RangeType
Range type.
Math::
template<UnsignedInt dimensions, class T>
typedef U Magnum:: DimensionTraits<dimensions, T>:: MatrixType
Matrix type.
Floating-point Math::