fart/main/Light.cc
Josh Holtrop f087488b39 using Color instead of Vector where appropriate, updated main/Light to use diffuse and specular lights
git-svn-id: svn://anubis/fart/trunk@67 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-01-30 01:25:57 +00:00

12 lines
201 B
C++

#include "Light.h"
#include "util/Vector.h"
Light::Light(const Vector & position)
: m_diffuse_color(Color::white),
m_specular_color(Color::white)
{
m_position = position;
}