Added LoadOP to render pass

This commit is contained in:
antopilo
2025-03-23 01:03:42 -04:00
parent 58c2193356
commit e8fda9c544
8 changed files with 44 additions and 15 deletions

View File

@@ -617,7 +617,6 @@ void GizmoDrawer::DrawGizmos(Ref<Scene> scene, bool occluded)
renderList.Flush(gizmoShader, true);
}
// Sound emitter
auto audioView = scene->m_Registry.view<TransformComponent, AudioEmitterComponent>();
for (auto e : audioView)

View File

@@ -213,7 +213,6 @@ void ViewportWidget::OnSceneChanged(Ref<Nuake::Scene> scene)
sceneViewport->GetOnDebugDraw().AddRaw(this, &ViewportWidget::OnDebugDraw);
}
float GetGizmoScale(const Vector3& camPosition, const Nuake::Vector3& position)
{
float distance = Distance(camPosition, position);
@@ -228,7 +227,6 @@ float GetGizmoScale(const Vector3& camPosition, const Nuake::Vector3& position)
return 1.0f;
}
template<typename T>
void DrawIconGizmo(DebugCmd& debugCmd, const std::string& icon)
{