diff --git a/rotation.cpp b/rotation.cpp index 074c6d0..e943f61 100644 --- a/rotation.cpp +++ b/rotation.cpp @@ -450,7 +450,6 @@ Image* rotate(Image const& src, double angle) for (int y = 0; y < height; ++y) { - // TODO: compact these structure to increase locality int const left_padding = padding_table[2 * y]; int const left_border = 0; int const right_border = 0; @@ -477,7 +476,6 @@ Image* rotate(Image const& src, double angle) } // Left padding - // TODO: set to background value memset(buffer + buffer_index, 0, left_padding * sizeof (pvalue_t)); buffer_index += left_padding; @@ -505,7 +503,6 @@ Image* rotate(Image const& src, double angle) } // Right padding - // TODO: set to background value memset(buffer + buffer_index, 0, right_padding * sizeof (pvalue_t)); buffer_index += right_padding;