I think this is now finding the different segments of the cascade
This commit is contained in:
FakeShemp
2016-02-18 20:48:39 +01:00
parent 178402e964
commit bf376f54b6
4 changed files with 230 additions and 110 deletions
+3 -1
View File
@@ -17,7 +17,9 @@ EditorSystem::EditorSystem(World* world, EventBroker* eventBroker, IRenderer* re
m_EditorCamera = importEntity(EntityWrapper(m_EditorWorld, EntityID_Invalid), "Schema/Entities/Empty.xml");
m_ActualCamera = m_EditorCamera;
m_EditorWorld->AttachComponent(m_EditorCamera.ID, "Transform");
m_EditorWorld->AttachComponent(m_EditorCamera.ID, "Camera");
auto cCamera = m_EditorWorld->AttachComponent(m_EditorCamera.ID, "Camera");
(double&)cCamera["FarClip"] = 30.0;
m_EditorCameraInputController = new EditorCameraInputController<EditorSystem>(m_EventBroker, -1);
m_EditorGUI = new EditorGUI(m_World, m_EventBroker);