FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Website, Reference, Example Bugs
(Moderator: REAS)
   Not a bug, an oversight?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Not a bug, an oversight?  (Read 450 times)
flight404

WWW Email
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


WWW
Re: Not a bug, an oversight?
« Reply #1 on: Aug 8th, 2003, 8:54pm »

thanks robert. yes, an oversight. fix will be up soon.
 
Pages: 1 

« Previous topic | Next topic »