diff --git a/src/Math/Geometry/Rectangle.h b/src/Math/Geometry/Rectangle.h index c832ecf36..ccf8ac019 100644 --- a/src/Math/Geometry/Rectangle.h +++ b/src/Math/Geometry/Rectangle.h @@ -39,6 +39,8 @@ Helper class for storing axis-aligned rectangles consisting of bottom left and top right corner positions with origin in bottom left. Bottom/left positions are inclusive, while top/right positions are exclusive. @see Magnum::Rectangle, Magnum::Rectanglei, Magnum::Rectangled +@todo rename to Range, make it generic for one, two and three dimensions, add translated(), padded()... +@todo move outside Math? */ template class Rectangle { template friend class Rectangle; diff --git a/src/TextureTools/DistanceField.cpp b/src/TextureTools/DistanceField.cpp index 7b5e0a6f6..c2804541c 100644 --- a/src/TextureTools/DistanceField.cpp +++ b/src/TextureTools/DistanceField.cpp @@ -84,7 +84,7 @@ DistanceFieldShader::DistanceFieldShader() { void distanceField(Texture2D* input, Texture2D* output, const Rectanglei& rectangle, const Int radius) { MAGNUM_ASSERT_EXTENSION_SUPPORTED(Extensions::GL::EXT::framebuffer_object); - /** @todo Disable depth test and then enable it back (if was previously) */ + /** @todo Disable depth test, blending and then enable it back (if was previously) */ Framebuffer framebuffer(rectangle); framebuffer.attachTexture2D(Framebuffer::ColorAttachment(0), output, 0);