Recast: update default render offsets

Render recast geometry at its original location, render detour geometry 4 units from its original z-axis to avoid clipping. The previous values were too extreme and caused the cursor to visibly clip in recast geometry.
This commit is contained in:
Kawe Mazidjatari 2024-09-21 22:32:13 +02:00
parent 01f1361e26
commit 3eb505e169

View File

@ -145,8 +145,8 @@ Editor::Editor() :
for (int i = 0; i < MAX_TOOLS; i++)
m_toolStates[i] = 0;
rdVset(m_recastDrawOffset, 0.0f,0.0f,4.0f);
rdVset(m_detourDrawOffset, 0.0f,0.0f,8.0f);
rdVset(m_recastDrawOffset, 0.0f,0.0f,0.0f);
rdVset(m_detourDrawOffset, 0.0f,0.0f,4.0f);
}
Editor::~Editor()