Проектная работа - WIP
This commit is contained in:
@@ -42,6 +42,12 @@ pub fn time_speed(input: Res<ButtonInput<KeyCode>>, mut time: ResMut<Time<Virtua
|
||||
}
|
||||
}
|
||||
|
||||
fn _split_by_grid_tracing(src: f32, dst: f32, grid: f32) -> Vec<(f32, f32)> {
|
||||
let result = crate::tools::split_by_grid(src, dst, grid);
|
||||
trace!("\tsplit_by_grid({:?}, {:?}, {:?}) -> {:?}", src, dst, grid, result);
|
||||
result
|
||||
}
|
||||
|
||||
/// Координатная сетка
|
||||
#[derive(Component)]
|
||||
pub struct Grid;
|
||||
|
||||
Reference in New Issue
Block a user