added different height speed change for up and down
This commit is contained in:
@@ -28,10 +28,9 @@ void keypress_more(int keycode, t_fdf *fdf)
|
||||
fdf->zoom = 0;
|
||||
}
|
||||
else if (keycode == O)
|
||||
fdf->altitude++;
|
||||
fdf->altitude += Z_HEIGHT_UP;
|
||||
else if (keycode == P)
|
||||
//if (fdf->altitude > 0)
|
||||
fdf->altitude--;
|
||||
fdf->altitude -= Z_HEIGHT_DOWN;
|
||||
}
|
||||
|
||||
int should_ignore_keypress(const struct timeval *current_time, t_fdf *fdf)
|
||||
|
||||
Reference in New Issue
Block a user