Browse Source

Shapes: added TODO.

pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
d09ee62376
  1. 2
      src/Shapes/Capsule.h
  2. 2
      src/Shapes/Sphere.h

2
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<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Capsule {
public:

2
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<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Sphere {
public:

Loading…
Cancel
Save