Browse Source

Math: cleanup.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
4027874b8d
  1. 2
      src/Magnum/Math/Test/RectangularMatrixTest.cpp
  2. 2
      src/Magnum/Math/Test/VectorTest.cpp

2
src/Magnum/Math/Test/RectangularMatrixTest.cpp

@ -37,7 +37,7 @@ namespace Magnum { namespace Math {
namespace Implementation {
template<> struct RectangularMatrixConverter<2, 3, float, Mat2x3> {
template<> struct RectangularMatrixConverter<2, 3, Float, Mat2x3> {
constexpr static RectangularMatrix<2, 3, Float> from(const Mat2x3& other) {
return RectangularMatrix<2, 3, Float>(
Vector<3, Float>(other.a[0], other.a[1], other.a[2]),

2
src/Magnum/Math/Test/VectorTest.cpp

@ -37,7 +37,7 @@ namespace Magnum { namespace Math {
namespace Implementation {
template<> struct VectorConverter<3, float, Vec3> {
template<> struct VectorConverter<3, Float, Vec3> {
constexpr static Vector<3, Float> from(const Vec3& other) {
return {other.x, other.y, other.z};
}

Loading…
Cancel
Save