Make freecam mark frames as needs redraw

This commit is contained in:
Georg Hagen
2024-07-28 17:42:46 +02:00
parent 2ed7f7689e
commit ed58c83e9b

View File

@@ -48,6 +48,7 @@ namespace OpenVulkano
Math::Matrix4f camTransformation = Math::Utils::toMat4(rot);
camTransformation[3] = Math::Vector4f(m_position, 1);
GetCamera()->SetMatrix(camTransformation);
CURRENT_FRAME.needsRedraw = true;
}
void FreeCamCameraController::SetDefaultKeybindings()