Fix the rotation speed so it's calculated based on the rotation angle.
This commit is contained in:
parent
89772fd89b
commit
d1d7bf8d94
4 changed files with 10 additions and 3 deletions
|
|
@ -11,8 +11,8 @@ using RGBA = uint32_t;
|
|||
|
||||
struct CameraLOL {
|
||||
double t = 0.0;
|
||||
double move_speed = 0.1;
|
||||
double rot_speed = 0.06;
|
||||
double move_speed = DEFAULT_MOVE_SPEED;
|
||||
double rot_speed = DEFAULT_ROTATE_SPEED;
|
||||
double target_x = 0.0;
|
||||
double target_y = 0.0;
|
||||
double target_dir_x = 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue