From 66352a015049800797307f76ed33a0033e3de197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 17 Apr 2013 14:40:27 +0200 Subject: [PATCH] Physics: copypaste error. TWICE! OMG! --- src/Physics/Capsule.h | 2 +- src/Physics/Line.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Physics/Capsule.h b/src/Physics/Capsule.h index 7880a7102..b40a33b4f 100644 --- a/src/Physics/Capsule.h +++ b/src/Physics/Capsule.h @@ -71,7 +71,7 @@ template class MAGNUM_PHYSICS_EXPORT Capsule: public Abs /** @brief End point */ inline typename DimensionTraits::VectorType b() const { - return _a; + return _b; } /** @brief Set start point */ diff --git a/src/Physics/Line.h b/src/Physics/Line.h index bfb9bdceb..49e835c3c 100644 --- a/src/Physics/Line.h +++ b/src/Physics/Line.h @@ -66,7 +66,7 @@ template class MAGNUM_PHYSICS_EXPORT Line: public Abstra /** @brief Second point */ inline typename DimensionTraits::VectorType b() const { - return _a; + return _b; } /** @brief Set first point */