Minor cleanup

master
Mark 2024-01-08 21:25:22 -08:00
parent 1c3f64a132
commit acb3315392
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
1 changed files with 0 additions and 9 deletions

View File

@ -388,13 +388,4 @@ impl<'a> World {
pub fn iter_projectiles(&'a self) -> impl Iterator<Item = &ProjectileWorldObject> + '_ { pub fn iter_projectiles(&'a self) -> impl Iterator<Item = &ProjectileWorldObject> + '_ {
self.projectiles.values() self.projectiles.values()
} }
/*
/// Iterate over all projectile sprites in this physics system
pub fn get_projectile_sprites(&self) -> impl Iterator<Item = ObjectSprite> + '_ {
self.projectiles
.values()
.map(|x| x.get_sprite(&self.wrapper.rigid_body_set[x.rigid_body]))
}
*/
} }