F37PVGYNMSVNJG2T34JTZNDMFUH552KBNWEHSZUHPQINGBB5L55QC
/// Remove a plank from this row
pub fn pop(&mut self, ms: &mut MaterialStorage) {
// Remove the plank
if let Some(plank) = self.planks.pop() {
ms.store_used(plank);
// Update the row coverage
self.coverage -= plank.length();
}
// Remove the cut
if let Some(cut) = self.cut_coordinates.pop() {
println!("Removed cut at {}", cut.coordinate);
}
}