dungeon_crawler

diff prototype/src/light.cc @ 46:f3030df27110

debugging the particles
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 13 Sep 2012 06:33:51 +0300
parents acfe0c0110fc
children aa86119e3295
line diff
     1.1 --- a/prototype/src/light.cc	Wed Sep 12 06:04:20 2012 +0300
     1.2 +++ b/prototype/src/light.cc	Thu Sep 13 06:33:51 2012 +0300
     1.3 @@ -86,6 +86,11 @@
     1.4  	this->pos = pos;
     1.5  }
     1.6  
     1.7 +const Vector3 &PointLight::get_position() const
     1.8 +{
     1.9 +	return pos;
    1.10 +}
    1.11 +
    1.12  void PointLight::set_attenuation(float att_const, float att_lin, float att_quad)
    1.13  {
    1.14  	atten[0] = att_const;