bracket-lib
bracket-lib copied to clipboard
Standalone bracket-pathfinding crate 0.8.4 is out of date
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;
}