charles/src/light.h

31 lines
381 B
C
Raw Normal View History

2013-09-10 21:48:41 -07:00
/* light.h
*
* Lights light the scene.
*
* Eryn Wells <eryn@erynwells.me>
*/
#ifndef __LIGHT_H__
#define __LIGHT_H__
2013-09-11 08:57:05 -07:00
#include "basics.h"
2013-09-10 21:48:41 -07:00
#include "object.h"
class Light
: public Object
{
public:
Light();
Light(float i);
Light(Vector3 o, float i);
float get_intensity() const;
void set_intensity(float i);
private:
float intensity;
};
#endif