From 1e71e819f4a66146124ec9cc71d3fc0b1254f643 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Thu, 22 Feb 2018 12:04:25 -0800 Subject: [PATCH] update space view according to main ViewFrustum --- interface/src/Application.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 0c654e9196..00c4b06378 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4169,6 +4169,14 @@ void Application::idle() { } { + // TEMP HACK: one view with static radiuses + float r0 = 10.0f; + float r1 = 20.0f; + float r2 = 30.0f; + workload::Space::View view(_viewFrustum.getPosition(), r0, r1, r2); + std::vector views; + views.push_back(view); + getEntities()->getWorkloadSpace()->setViews(views); _gameWorkload._engine->run(); } {