mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-27 16:17:12 +03:00
Added Recast&Detour implementation
- Implemented debug renderer of navigation meshes - Can now generate navigation meshes from .map files
This commit is contained in:
@@ -2242,6 +2242,11 @@ namespace Nuake {
|
||||
PhysicsManager::Get().SetDrawDebug(m_DebugCollisions);
|
||||
}
|
||||
|
||||
if (ImGui::MenuItem("Draw navigation meshes", NULL, m_DrawNavMesh))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
if (ImGui::MenuItem("Settings", NULL)) {}
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ namespace Nuake
|
||||
bool m_DrawAxis = true;
|
||||
bool m_ShowImGuiDemo = false;
|
||||
bool m_DebugCollisions = true;
|
||||
bool m_DrawNavMesh = true;
|
||||
bool m_ShowOverlay = true;
|
||||
bool m_IsHoveringViewport = false;
|
||||
bool m_IsViewportFocused = false;
|
||||
@@ -76,6 +77,7 @@ namespace Nuake
|
||||
|
||||
bool ShouldDrawAxis() const { return m_DrawAxis; }
|
||||
bool ShouldDrawCollision() const { return m_DebugCollisions; }
|
||||
bool ShouldDrawNavMesh() const { return m_DrawNavMesh; }
|
||||
bool LoadProject(const std::string& projectPath);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user