Browse Source

Math: haha, pushed without test.

Kill me.
pull/126/head
Vladimír Vondruš 11 years ago
parent
commit
40a12441c0
  1. 2
      src/Magnum/Math/Vector.h

2
src/Magnum/Math/Vector.h

@ -51,7 +51,7 @@ namespace Magnum { namespace Math {
namespace Implementation {
template<std::size_t, class, class> struct VectorConverter;
/* Needed by DualQuaternion and Functions.h (to avoid dependency between them) */
template<class T> T lerp(const T& a, const T& b, U t) {
template<class T, class U> T lerp(const T& a, const T& b, U t) {
return T((U(1) - t)*a + t*b);
}
}

Loading…
Cancel
Save