/************************************************************************ * TODO: * Once a world partitioning system is in place, change all of the Lists over to use that syste, or at least reference it. * Obviously, once this change is made, a lot of additional stuff (both in this file and outside of it) needs to be changed. * * Jerad Dunn - 2011/11/05 - 20:26 ************************************************************************/ /// <summary> /// Constructor. /// </summary> private LightManager_cl() { // Initializing the lighting information. mAmbientLight = null; mDirectionalLights = new List<DirectionalLightComponent>(); mPointLights = new List<PointLightComponent>(); }
/************************************************************************ * TODO: * What else goes into making a scene? * * Jay Sternfield - 2011/11/05 ************************************************************************/ /// <summary> /// Default constructor. /// </summary> public Scene_cl() { mAmbientLight = new Entity_cl(); AmbientLightComponent ambientComponent = new AmbientLightComponent(mAmbientLight, 0.0f, Color.White.ToVector3(), 1.0f); LightManager_cl.Instance.ActiveAmbientLight = ambientComponent; mLights = new List<Entity_cl>(); mEntities = new List<Entity_cl>(); mLayers = new List<Entity_cl>(); }