More cleanup, mostly removing variables and simplifying the math.
This commit is contained in:
parent
113df851af
commit
033d5cdfec
3 changed files with 41 additions and 51 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue