adjusting the bounding box for debug rendering

This commit is contained in:
Sam Gateau 2018-04-21 12:05:27 -07:00
parent f16d0c712e
commit ec569b0e51

View file

@ -66,7 +66,7 @@ void GameSpaceToRender::run(const workload::WorkloadContextPointer& runContext,
if (!render::Item::isValidID(_spaceRenderItemID)) {
_spaceRenderItemID = scene->allocateID();
auto renderItem = std::make_shared<GameWorkloadRenderItem>();
renderItem->editBound().setBox(glm::vec3(-16000.0f), 16000.0f);
renderItem->editBound().setBox(glm::vec3(-16000.0f), 32000.0f);
renderItem->setAllProxies(proxies);
transaction.resetItem(_spaceRenderItemID, std::make_shared<GameWorkloadRenderItem::Payload>(renderItem));
}