Add relative-to-camera rendering for large worlds
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "Level.h"
|
||||
#include "ActorsCache.h"
|
||||
#include "LargeWorlds.h"
|
||||
#include "SceneQuery.h"
|
||||
#include "SceneObjectsFactory.h"
|
||||
#include "Scene/Scene.h"
|
||||
@@ -39,6 +40,19 @@
|
||||
#include "Engine/Serialization/JsonSerializer.h"
|
||||
#endif
|
||||
|
||||
#if USE_LARGE_WORLDS
|
||||
bool LargeWorlds::Enable = true;
|
||||
#else
|
||||
bool LargeWorlds::Enable = false;
|
||||
#endif
|
||||
|
||||
void LargeWorlds::UpdateOrigin(Vector3& origin, const Vector3& position)
|
||||
{
|
||||
if (Enable)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
bool LayersMask::HasLayer(const StringView& layerName) const
|
||||
{
|
||||
return HasLayer(Level::GetLayerIndex(layerName));
|
||||
|
||||
Reference in New Issue
Block a user