|
|
|
|
@ -33,11 +33,9 @@ namespace Corrade { namespace Utility {
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 2, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 3, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 4, Magnum::Float>>; |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 2, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 3, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 4, Magnum::Double>>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 3, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 2, Magnum::Float>>; |
|
|
|
|
@ -45,14 +43,12 @@ template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 4, Magnum:
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 2, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 4, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 3, Magnum::Float>>; |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 3, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 2, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<2, 4, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 2, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<3, 4, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::RectangularMatrix<4, 3, Magnum::Double>>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<2, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<3, Magnum::Float>>; |
|
|
|
|
@ -63,21 +59,17 @@ template struct ConfigurationValue<Magnum::Math::Vector<4, Magnum::Int>>;
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<2, Magnum::UnsignedInt>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<3, Magnum::UnsignedInt>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<4, Magnum::UnsignedInt>>; |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<2, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<3, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Vector<4, Magnum::Double>>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<2, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<2, Magnum::Int>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<3, Magnum::Float>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<3, Magnum::Int>>; |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<2, Magnum::Double>>; |
|
|
|
|
template struct ConfigurationValue<Magnum::Math::Range<3, Magnum::Double>>; |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
|
@ -85,24 +77,16 @@ namespace Magnum { namespace Math {
|
|
|
|
|
|
|
|
|
|
#ifndef DOXYGEN_GENERATING_OUTPUT |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Complex<Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Complex<Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const DualComplex<Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const DualComplex<Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const DualQuaternion<Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const DualQuaternion<Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Quaternion<Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Quaternion<Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* Check proper size of GL types */ |
|
|
|
|
static_assert(sizeof(Vector<2, Float>) == 8, "Improper size of 2-element Float vector"); |
|
|
|
|
@ -114,20 +98,16 @@ static_assert(sizeof(Vector<4, Int>) == 16, "Improper size of 4-element Int vect
|
|
|
|
|
static_assert(sizeof(Vector<2, UnsignedInt>) == 8, "Improper size of 2-element UnsignedInt vector"); |
|
|
|
|
static_assert(sizeof(Vector<3, UnsignedInt>) == 12, "Improper size of 3-element UnsignedInt vector"); |
|
|
|
|
static_assert(sizeof(Vector<4, UnsignedInt>) == 16, "Improper size of 4-element UnsignedInt vector"); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
static_assert(sizeof(Vector<2, Double>) == 16, "Improper size of 2-element Double vector"); |
|
|
|
|
static_assert(sizeof(Vector<3, Double>) == 24, "Improper size of 3-element Double vector"); |
|
|
|
|
static_assert(sizeof(Vector<4, Double>) == 32, "Improper size of 4-element Double vector"); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
static_assert(sizeof(RectangularMatrix<2, 2, Float>) == 16, "Improper size of 2x2 Float matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 3, Float>) == 36, "Improper size of 3x3 Float matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 4, Float>) == 64, "Improper size of 4x4 Float matrix"); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
static_assert(sizeof(RectangularMatrix<2, 2, Double>) == 32, "Improper size of 2x2 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 3, Double>) == 72, "Improper size of 3x3 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 4, Double>) == 128, "Improper size of 4x4 Double matrix"); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
static_assert(sizeof(RectangularMatrix<2, 3, Float>) == 24, "Improper size of 2x3 Float matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 2, Float>) == 24, "Improper size of 3x2 Float matrix"); |
|
|
|
|
@ -135,23 +115,19 @@ static_assert(sizeof(RectangularMatrix<2, 4, Float>) == 32, "Improper size of 2x
|
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 2, Float>) == 32, "Improper size of 4x2 Float matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 4, Float>) == 48, "Improper size of 3x4 Float matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 3, Float>) == 48, "Improper size of 4x3 Float matrix"); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
static_assert(sizeof(RectangularMatrix<2, 3, Double>) == 48, "Improper size of 2x3 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 2, Double>) == 48, "Improper size of 3x2 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<2, 4, Double>) == 64, "Improper size of 2x4 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 2, Double>) == 64, "Improper size of 4x2 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<3, 4, Double>) == 96, "Improper size of 3x4 Double matrix"); |
|
|
|
|
static_assert(sizeof(RectangularMatrix<4, 3, Double>) == 96, "Improper size of 4x3 Double matrix"); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<2, 2, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 3, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 4, Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<2, 2, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 3, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 4, Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<2, 3, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 2, Float>&); |
|
|
|
|
@ -159,21 +135,17 @@ template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Rec
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 2, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 4, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 3, Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<2, 3, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 2, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<2, 4, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 2, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<3, 4, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const RectangularMatrix<4, 3, Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Unit<Rad, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Unit<Deg, Float>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Unit<Rad, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Unit<Deg, Double>&); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<2, Float>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<3, Float>&); |
|
|
|
|
@ -184,12 +156,9 @@ template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vec
|
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<2, UnsignedInt>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<3, UnsignedInt>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<4, UnsignedInt>&); |
|
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<2, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<3, Double>&); |
|
|
|
|
template Corrade::Utility::Debug& operator<<(Corrade::Utility::Debug&, const Vector<4, Double>&); |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
|
|
|