diff --git a/src/DebugTools/Implementation/CapsuleRendererTransformation.h b/src/DebugTools/Implementation/CapsuleRendererTransformation.h index ec4120491..be649c77f 100644 --- a/src/DebugTools/Implementation/CapsuleRendererTransformation.h +++ b/src/DebugTools/Implementation/CapsuleRendererTransformation.h @@ -35,7 +35,7 @@ namespace Magnum { namespace DebugTools { namespace Implementation { template std::array::MatrixType, 3> capsuleRendererTransformation(const typename DimensionTraits::VectorType& a, const typename DimensionTraits::VectorType& b, Float radius); -template<> inline std::array capsuleRendererTransformation<2>(const Vector2& a, const Vector2& b, const Float radius) { +template<> std::array capsuleRendererTransformation<2>(const Vector2& a, const Vector2& b, const Float radius) { /* Vector from capsule center to top hemisphere center */ const Vector2 direction = 0.5f*(b - a); const Float length = direction.length();