Make freecam mark frames as needs redraw
This commit is contained in:
@@ -48,6 +48,7 @@ namespace OpenVulkano
|
|||||||
Math::Matrix4f camTransformation = Math::Utils::toMat4(rot);
|
Math::Matrix4f camTransformation = Math::Utils::toMat4(rot);
|
||||||
camTransformation[3] = Math::Vector4f(m_position, 1);
|
camTransformation[3] = Math::Vector4f(m_position, 1);
|
||||||
GetCamera()->SetMatrix(camTransformation);
|
GetCamera()->SetMatrix(camTransformation);
|
||||||
|
CURRENT_FRAME.needsRedraw = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreeCamCameraController::SetDefaultKeybindings()
|
void FreeCamCameraController::SetDefaultKeybindings()
|
||||||
|
|||||||
Reference in New Issue
Block a user