charles/src/light.h
2013-09-11 08:57:05 -07:00

30 lines
381 B
C++

/* light.h
*
* Lights light the scene.
*
* Eryn Wells <eryn@erynwells.me>
*/
#ifndef __LIGHT_H__
#define __LIGHT_H__
#include "basics.h"
#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