diff engine/core/view/camera.i @ 661:e3140f01749d

* Merged the light branch back into trunk. * Modified the demos so they work with the new loaders and setting.
author helios2000@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 05 Nov 2010 15:21:10 +0000
parents 7e5717105212
children
line wrap: on
line diff
--- a/engine/core/view/camera.i	Wed Nov 03 13:44:12 2010 +0000
+++ b/engine/core/view/camera.i	Fri Nov 05 15:21:10 2010 +0000
@@ -63,6 +63,10 @@
 		void getMatchingInstances(Location& loc, std::list<Instance*>& instances, bool use_exactcoordinates=false);
 		RendererBase* getRenderer(const std::string& name);
 		void resetRenderers();
+		
+		void setLightingColor(float red, float green, float blue, float alpha);
+		void resetLightingColor();
+		std::vector<float> getLightingColor();
 
 		void refresh();
 	private:
@@ -71,4 +75,4 @@
 	%clear std::list<Instance*>& instances;
 }
 
-%clear InstanceLst& instances;
+%clear InstanceLst& instances;
\ No newline at end of file