rust/lib-hedgewars-engine/src/world.rs
changeset 15764 b10bbfb2b354
parent 15762 84c07aa94b61
child 15809 c3971b38bbfa
equal deleted inserted replaced
15763:f6af9d05b03c 15764:b10bbfb2b354
   138                     .iter_data()
   138                     .iter_data()
   139                     .run(|(pos,): (&mut PositionData,)| {
   139                     .run(|(pos,): (&mut PositionData,)| {
   140                         gear_entries.push(GearEntry::new(
   140                         gear_entries.push(GearEntry::new(
   141                             f64::from(pos.0.x()) as f32,
   141                             f64::from(pos.0.x()) as f32,
   142                             f64::from(pos.0.y()) as f32,
   142                             f64::from(pos.0.y()) as f32,
   143                             Size::square(128),
   143                             Size::square(256),
   144                         ))
   144                         ))
   145                     });
   145                     });
   146             }
   146             }
   147             renderer.render(&self.camera, &gear_entries);
   147             renderer.render(&self.camera, &gear_entries);
   148         }
   148         }