22 lines
418 B
C++
22 lines
418 B
C++
|
|
#ifndef LIGHT_H
|
|
#define LIGHT_H LIGHT_H
|
|
|
|
#include "util/Vector.h"
|
|
#include "util/Color.h"
|
|
|
|
class Light
|
|
{
|
|
public:
|
|
Light(const Vector & position, const Color & color = Color::white);
|
|
const Vector & getPosition() const { return m_position; }
|
|
const Color & getColor() const { return m_color; }
|
|
|
|
protected:
|
|
Vector m_position;
|
|
Color m_color;
|
|
};
|
|
|
|
#endif
|
|
|