More cleanup, mostly removing variables and simplifying the math.

This commit is contained in:
Zed A. Shaw 2025-01-16 10:32:28 -05:00
parent 113df851af
commit 033d5cdfec
3 changed files with 41 additions and 51 deletions

View file

@ -86,9 +86,7 @@ struct Raycaster {
void sort_sprites(int* order, double* dist, int amount);
// ZED these can be one or two functions
void move_forward(double moveSpeed);
void move_backward(double moveSpeed);
void rotate_right(double rotSpeed);
void rotate_left(double rotSpeed);
void position_camera(float player_x, float player_y, int tile_size);
void run(double speed, int dir);
void rotate(double speed, int dir);
void position_camera(float player_x, float player_y);
};