This commit is contained in:
dominicentek 2023-08-16 19:02:12 +02:00
parent 9d91dfd6f9
commit db7439bac2

View file

@ -761,7 +761,8 @@ void saturn_keyframe_camera_popout(string value_name, string id) {
ImGui::SameLine();
if (ImGui::Button(buttonLabel.c_str())) {
float dist, yaw, pitch;
float dist;
s16 pitch, yaw;
vec3f_copy(freezecamPos, gCamera->pos);
vec3f_get_dist_and_angle(gCamera->pos, gCamera->focus, &dist, &pitch, &yaw);
freezecamYaw = yaw;