Remove obsolete TODO comments.
This commit is contained in:
parent
fd36a3bea6
commit
fdbe6efc35
|
@ -450,7 +450,6 @@ Image* rotate(Image const& src, double angle)
|
||||||
for (int y = 0; y < height; ++y)
|
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_padding = padding_table[2 * y];
|
||||||
int const left_border = 0;
|
int const left_border = 0;
|
||||||
int const right_border = 0;
|
int const right_border = 0;
|
||||||
|
@ -477,7 +476,6 @@ Image* rotate(Image const& src, double angle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Left padding
|
// Left padding
|
||||||
// TODO: set to background value
|
|
||||||
memset(buffer + buffer_index, 0, left_padding * sizeof (pvalue_t));
|
memset(buffer + buffer_index, 0, left_padding * sizeof (pvalue_t));
|
||||||
buffer_index += left_padding;
|
buffer_index += left_padding;
|
||||||
|
|
||||||
|
@ -505,7 +503,6 @@ Image* rotate(Image const& src, double angle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Right padding
|
// Right padding
|
||||||
// TODO: set to background value
|
|
||||||
memset(buffer + buffer_index, 0, right_padding * sizeof (pvalue_t));
|
memset(buffer + buffer_index, 0, right_padding * sizeof (pvalue_t));
|
||||||
buffer_index += right_padding;
|
buffer_index += right_padding;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue