Converted all the variable names from Lode's tutorial style to the one I use in prep for some review and cleanup.
This commit is contained in:
parent
0cbe20af35
commit
51972b0c35
6 changed files with 157 additions and 156 deletions
16
camera.hpp
16
camera.hpp
|
@ -3,14 +3,14 @@
|
|||
|
||||
struct CameraLOL {
|
||||
double t = 0.0;
|
||||
double moveSpeed = 0.1;
|
||||
double rotSpeed = 0.06;
|
||||
double targetX = 0.0;
|
||||
double targetY = 0.0;
|
||||
double targetDirX = 0.0;
|
||||
double targetDirY = 0.0;
|
||||
double targetPlaneX = 0.0;
|
||||
double targetPlaneY = 0.0;
|
||||
double move_speed = 0.1;
|
||||
double rot_speed = 0.06;
|
||||
double target_x = 0.0;
|
||||
double target_y = 0.0;
|
||||
double target_dir_x = 0.0;
|
||||
double target_dir_y = 0.0;
|
||||
double target_plane_x = 0.0;
|
||||
double target_plane_y = 0.0;
|
||||
|
||||
Point plan_move(Raycaster &rayview, int dir, bool strafe);
|
||||
void plan_rotate(Raycaster &rayview, int dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue