|
Author |
Topic: Not a bug, an oversight? (Read 450 times) |
|
flight404
|
Not a bug, an oversight?
« on: Aug 7th, 2003, 7:16am » |
|
In the learning section for the blur image example, you have the following code in a 'for' loop. int xp = x-j; int yp = y-k; if (xp < 0) { xp = xp + width; } else if (x-j >= width) { xp = xp - width; } Looks like you could stick with your 'int xp' shortcut by using 'xp' in the 'else if' statement instead of 'x-j'. r
|
« Last Edit: Aug 7th, 2003, 7:17am by flight404 » |
|
|
|
|
REAS
|
Re: Not a bug, an oversight?
« Reply #1 on: Aug 8th, 2003, 8:54pm » |
|
thanks robert. yes, an oversight. fix will be up soon.
|
|
|
|
|