19 new_dir.x = dir.x * cos(rotate_rad) - dir.y * sin(rotate_rad);
20 new_dir.y = dir.x * sin(rotate_rad) + dir.y * cos(rotate_rad);
26 player->ray_dir = rotate_vector(player->ray_dir, player->rotate_speed);
27 player->camera_forcal_plane
28 = rotate_vector(player->camera_forcal_plane, player->rotate_speed);
34 player->ray_dir = rotate_vector(player->ray_dir, -player->rotate_speed);
35 player->camera_forcal_plane
36 = rotate_vector(player->camera_forcal_plane, -player->rotate_speed);