6 #include "DiffuseMeshFactory.h"
7 #include "PinViewFactory.h"
8 #include "PinRepository.h"
9 #include "PinController.h"
10 #include "RenderableFilters.h"
13 #include "Rendering.h"
14 #include "AtlasTexturePageLayout.h"
48 PinsModule(
const Eegeo::Rendering::TTextureId iconsTexturePageId,
58 const Rendering::LayerIds::Values layerId,
61 const bool useLegacyScaling)
62 : m_renderableFilters(renderableFilters)
64 Eegeo_ASSERT(pPinViewFactory != NULL,
"Cannot instantiate PinsModule with null PinViewFactory");
65 m_pViewFactory = pPinViewFactory;
70 environmentFlatteningService,
83 m_pController = Eegeo_NEW(
PinController)(*m_pRepository, terrainHeightProvider, *m_pViewFactory, *m_pViewRenderer);
90 m_renderableFilters.RemoveRenderableFilter(*m_pViewRenderer);
92 Eegeo_DELETE m_pController;
93 Eegeo_DELETE m_pViewRenderer;
94 Eegeo_DELETE m_pRepository;
96 Eegeo_DELETE m_pViewFactory;
116 const Eegeo::Rendering::TTextureId pinIconsTextureId,
118 const Eegeo::Rendering::LayerIds::Values layerId,
119 const float spriteWidth,
120 const float spriteHeight,
122 const bool useLegacyScaling
138 const Eegeo::Rendering::TTextureId pinIconsTextureId,
140 const Eegeo::Rendering::LayerIds::Values layerId,
149 m_pController->
Update(dt, renderCamera);