Closed shnewto closed 9 months ago
this pr pulls the edge marching out of bevy_collider_gen and uses the functionality of the edges crate.
bevy_collider_gen
edges
replace this
use bevy_collider_gen::edge;
with this
use bevy_collider_gen::Edges;
replace functions that took an image like this
let edges = multi_image_edge_translated(sprite_image);
let edges = Edge::from(sprite_image).multi_image_edge_translated();
bevy_collider_gen::edge::march_edges(...)
bevy_collider_gen::Edges::march_edges(...)
this pr pulls the edge marching out of
bevy_collider_gen
and uses the functionality of theedges
crate.migration guide
imports
replace this
with this
getting edges from images
replace functions that took an image like this
with this
march_edges
replace this
with this