mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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:
parent
01f1361e26
commit
3eb505e169
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user