Added basic project property UI

This commit is contained in:
Antoine Pilote
2024-08-17 12:08:37 -04:00
parent a09a826732
commit 2047b3f150
4 changed files with 122 additions and 14 deletions

View File

@@ -46,25 +46,16 @@ void EditorLayer::OnUpdate()
if (m_EditorInterface->ShouldDrawAxis())
{
m_GizmoDrawer->DrawAxis(currentScene, false);
glDepthFunc(GL_GREATER);
m_GizmoDrawer->DrawAxis(currentScene, true);
glDepthFunc(GL_LESS);
}
if (m_EditorInterface->ShouldDrawNavMesh())
{
m_GizmoDrawer->DrawNavMesh(currentScene, true);
}
if (m_EditorInterface->ShouldDrawCollision())
{
m_GizmoDrawer->DrawGizmos(currentScene, false);
//glDepthFunc(GL_GREATER);
//m_GizmoDrawer->DrawGizmos(currentScene, true);
//glDepthFunc(GL_LESS);
}