plain wrong
This commit is contained in:
16
src/v0.rs
16
src/v0.rs
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user