From d09ee623769b8a179a5b2487f20cd146c1a73a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 20 Aug 2013 23:12:18 +0200 Subject: [PATCH] Shapes: added TODO. --- src/Shapes/Capsule.h | 2 ++ src/Shapes/Sphere.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/Shapes/Capsule.h b/src/Shapes/Capsule.h index f0a654cbc..bceb0876c 100644 --- a/src/Shapes/Capsule.h +++ b/src/Shapes/Capsule.h @@ -41,6 +41,8 @@ namespace Magnum { namespace Shapes { Unlike other elements the capsule expects uniform scaling. See @ref shapes for brief introduction. @see Capsule2D, Capsule3D +@todo Store the radius as squared value to avoid sqrt/pow? Will complicate + collision detection with sphere. */ template class MAGNUM_SHAPES_EXPORT Capsule { public: diff --git a/src/Shapes/Sphere.h b/src/Shapes/Sphere.h index 44f7faa03..17d27bdd0 100644 --- a/src/Shapes/Sphere.h +++ b/src/Shapes/Sphere.h @@ -41,6 +41,8 @@ namespace Magnum { namespace Shapes { Unlike other elements the sphere expects uniform scaling. See @ref shapes for brief introduction. @see Sphere2D, Sphere3D +@todo Store the radius as squared value to avoid sqrt/pow? Will complicate + collision detection with another sphere. */ template class MAGNUM_SHAPES_EXPORT Sphere { public: