plain wrong

This commit is contained in:
2026-02-27 07:30:51 -08:00
parent 87ba477f63
commit 8c776f29b0

View File

@@ -784,14 +784,14 @@ impl Head{
} }
pub fn after_time(block:&Block,time:f64)->Self{ pub fn after_time(block:&Block,time:f64)->Self{
Self([ Self([
block.input_events.partition_point(|event|time<=event.time), block.input_events.partition_point(|event|event.time<time),
block.output_events.partition_point(|event|time<=event.time), block.output_events.partition_point(|event|event.time<time),
block.sound_events.partition_point(|event|time<=event.time), block.sound_events.partition_point(|event|event.time<time),
block.world_events.partition_point(|event|time<=event.time), block.world_events.partition_point(|event|event.time<time),
block.gravity_events.partition_point(|event|time<=event.time), block.gravity_events.partition_point(|event|event.time<time),
block.run_events.partition_point(|event|time<=event.time), block.run_events.partition_point(|event|event.time<time),
block.camera_events.partition_point(|event|time<=event.time), block.camera_events.partition_point(|event|event.time<time),
block.setting_events.partition_point(|event|time<=event.time), block.setting_events.partition_point(|event|event.time<time),
]) ])
} }
// compare an event at the head of the plan to the best event collected so far. // compare an event at the head of the plan to the best event collected so far.