Remove I3DEngine CryCommon Interface (#567)
Delete: - I3DEngine - Missions - Time of day - GameEffectsSystem Gem - ImageProcessing Gem - SVOGI Gem - Various other things that don't do anything now that the legacy renderer has been removed.
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include <AzToolsFramework/API/EditorCameraBus.h>
|
||||
#endif
|
||||
|
||||
#include <I3DEngine.h>
|
||||
#include <ISystem.h>
|
||||
#include <cinttypes>
|
||||
|
||||
@@ -853,17 +852,6 @@ namespace Vegetation
|
||||
AZ::TransformBus::EventResult(cameraPosition, activeCameraId, &AZ::TransformInterface::GetWorldTranslation);
|
||||
cameraPositionIsValid = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
//Go straight to the engine.
|
||||
auto engine = m_system ? m_system->GetI3DEngine() : nullptr;
|
||||
if (engine)
|
||||
{
|
||||
const Vec3 pos = engine->GetRenderingCamera().GetPosition();
|
||||
cameraPosition = LYVec3ToAZVec3(pos);
|
||||
cameraPositionIsValid = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (cameraPositionIsValid)
|
||||
|
||||
Reference in New Issue
Block a user