Browse Source

Shapes: added TODOs.

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

2
src/Shapes/Capsule.h

@ -42,7 +42,7 @@ Unlike other elements the capsule doesn't support asymmetric scaling. When
applying transformation, the scale factor is averaged from all axes. See applying transformation, the scale factor is averaged from all axes. See
@ref shapes for brief introduction. @ref shapes for brief introduction.
@see Capsule2D, Capsule3D @see Capsule2D, Capsule3D
@todo Assert for asymmetric scaling @todo Assert for asymmetric scaling to avoid costly sqrt?
*/ */
template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Capsule { template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Capsule {
public: public:

1
src/Shapes/Plane.h

@ -39,6 +39,7 @@ namespace Magnum { namespace Shapes {
@brief Infinite plane, defined by position and normal (3D only) @brief Infinite plane, defined by position and normal (3D only)
See @ref shapes for brief introduction. See @ref shapes for brief introduction.
@todo Assert for uniform scaling to avoid costly normalization?
*/ */
class MAGNUM_SHAPES_EXPORT Plane { class MAGNUM_SHAPES_EXPORT Plane {
public: public:

2
src/Shapes/Sphere.h

@ -42,7 +42,7 @@ Unlike other elements the sphere doesn't support asymmetric scaling. When
applying transformation, the scale factor is averaged from all axes. See applying transformation, the scale factor is averaged from all axes. See
@ref shapes for brief introduction. @ref shapes for brief introduction.
@see Sphere2D, Sphere3D @see Sphere2D, Sphere3D
@todo Assert for asymmetric scaling @todo Assert for asymmetric scaling to avoid costly sqrt?
*/ */
template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Sphere { template<UnsignedInt dimensions> class MAGNUM_SHAPES_EXPORT Sphere {
public: public:

Loading…
Cancel
Save