Revert "implement sin and cos table"

This reverts commit 650edff95c.
This commit is contained in:
2025-03-24 16:23:07 -04:00
parent 650edff95c
commit c097446df4
4 changed files with 9 additions and 67 deletions

View File

@@ -164,7 +164,7 @@ impl Grid {
}
#[inline]
pub fn tick(&mut self, sin_table: Vec<f32>, cos_table: Vec<f32>) {
pub fn tick(&mut self) {
let (width, height) = (self.width, self.height);
let PopulationConfig {
sensor_distance,
@@ -180,7 +180,7 @@ impl Grid {
agent.tick(&buf,
sensor_distance, sensor_angle,
rotation_angle, step_distance,
width, height, &sin_table, &cos_table);
width, height);
});
self.deposit_all();
}