mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Added proper debug line renderer!
This commit is contained in:
@@ -178,8 +178,7 @@ void GizmoDrawer::DrawAxis(Ref<Scene> scene, bool occluded)
|
||||
|
||||
void GizmoDrawer::DrawNavMesh(Ref<Scene> scene, bool occluded)
|
||||
{
|
||||
auto cam = Engine::GetCurrentScene()->m_EditorCamera;
|
||||
|
||||
auto& cam = Engine::GetCurrentScene()->m_EditorCamera;
|
||||
auto navVolumesView = scene->m_Registry.view<TransformComponent, NavMeshVolumeComponent>();
|
||||
for (auto e : navVolumesView)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user