/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2009.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: sgx/include/domains/graphics/light/light.hpp

*/

#ifndef SGX_DOMAIN_GRAPHICS_LIGHT_HPP
#define SGX_DOMAIN_GRAPHICS_LIGHT_HPP	1


typedef sgxStateTemplate<sgxVector3>	sgxStateVector3;
typedef sgxStateTemplate<sgxColorRGB>	sgxStateColorRGB;


class CSGXLight
{
public:

	typedef enum {
		eTypeOmni = 0,
		eTypeDirectional,
		eTypeSpotlight,
	} tType;

	typedef sgxStateTemplate<tType>		sgxStateLightType;

	sgxStateBool		active;
	sgxStateVector3	pos;
	sgxStateColorRGB	color;
	sgxStateReal32		range;
	sgxStateReal32		exposition;
	sgxStateLightType	type;

	CSGXLight();
};

#endif /* SGX_DOMAIN_GRAPHICS_LIGHT_HPP */
