Skip to content

Commit

Permalink
added comment to the ScanlineFloodfill that it doesnt work
Browse files Browse the repository at this point in the history
  • Loading branch information
OgreSwamp committed Jun 23, 2011
1 parent 54b17f4 commit 78c2107
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FloodFill.m
Expand Up @@ -105,6 +105,7 @@ +(int)floodfillX:(int)x Y:(int)y image:(unsigned char*)image width:(int)w height
}

// Scanline flood fill algorythm (based on C implementation here: http://www.academictutorials.com/graphics/graphics-flood-fill.asp )
// WARNING: DOESN'T WORK!!! Critical bug here...
+(int)scanlineFloodfillX:(int)x Y:(int)y image:(unsigned char*)image width:(int)w height:(int)h origIntColor:(int)iOrigColor replacementIntColor:(int)iColor {
// Replacement color
color replacement = [FloodFill imkcolor:iColor];
Expand Down

0 comments on commit 78c2107

Please sign in to comment.