Skip to content

Flood fill fills diagonally & errors if edges are to be filled #2836

@appgurueu

Description

@appgurueu

1f17076
It:

  1. Fills diagonally, which isn't how flood fill usually works;
  2. Lacks a check for x < width && y < height: I assume it crashes if that happens (with an AIOOB Ex.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions