Better debug line rendering & removed
This commit is contained in:
@@ -61,10 +61,10 @@ void EditorLayer::OnUpdate()
|
||||
if (m_EditorInterface->ShouldDrawCollision())
|
||||
{
|
||||
m_GizmoDrawer->DrawGizmos(currentScene, false);
|
||||
glDepthFunc(GL_GREATER);
|
||||
//glDepthFunc(GL_GREATER);
|
||||
|
||||
m_GizmoDrawer->DrawGizmos(currentScene, true);
|
||||
glDepthFunc(GL_LESS);
|
||||
//m_GizmoDrawer->DrawGizmos(currentScene, true);
|
||||
//glDepthFunc(GL_LESS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user