EG65GETJ6WWNENAGPJYVO3O2TGAHFIMFY52GGLKE5GTLPD47IRCQC
sprite.flip_x = movement_norm.x.signum() == -1.0;
// If we have a sprite, flip x if we moved in a negative x dir
// Might not be necessary
let x_movement = movement_norm.x;
match x_movement.signum() {
x if x == 1.0 && x_movement > f32::EPSILON => {
sprite.flip_x = false;
}
// cuz neg
x if x == -1.0 && x_movement < f32::EPSILON => {
sprite.flip_x = true;
}
_ => {}
}