mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-09 10:54:06 -04:00
Merge branch 'main' into unhackify-widescreen
# Conflicts: # src/dusk/imgui/ImGuiMenuGame.cpp # src/m_Do/m_Do_lib.cpp
This commit is contained in:
@@ -113,6 +113,12 @@ void mDoLib_project(Vec* src, Vec* dst) {
|
||||
}
|
||||
|
||||
dst->x = ((0.5f + (multVec.x * calcFloat)) * xSize) + xOffset;
|
||||
#if TARGET_PC
|
||||
if (dusk::getSettings().game.enableMirrorMode) {
|
||||
dst->x = ((0.5f + (-multVec.x * calcFloat)) * xSize) + xOffset;
|
||||
}
|
||||
#endif
|
||||
|
||||
dst->y = ((0.5f + (multVec.y * (-calcFloat))) * ySize) + yOffset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user