bracket-lib icon indicating copy to clipboard operation
bracket-lib copied to clipboard

Standalone bracket-pathfinding crate 0.8.4 is out of date

Open bmanturner opened this issue 2 years ago • 0 comments

I installed bracket-pathfinding = "0.8.4" and it contains a fieldofview bug that results in attempting to access an index that does not exist. It seems the crate is out of date with this repo as the bug does not exist in this repo

        let mut end_y = self.center.y + (end_slope * distance as f32 + 0.5) as i32;
        if end_y >= self.dimensions.x {
            end_y = self.dimensions.x - 1;
        }

bmanturner avatar Aug 26 '22 00:08 bmanturner