X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Fpointlight.h;fp=source%2Fmaterials%2Fpointlight.h;h=a49fbe0ef3de09b462cc54c44ad0d5e40b653be8;hb=190a7e11237351f6b730c28f7b16f183e8adc69c;hp=ed9789c7b0d2de622bc04e61800205260347dc0d;hpb=be6ffe96ecb4707599fe1a6f620c348760213d46;p=libs%2Fgl.git diff --git a/source/materials/pointlight.h b/source/materials/pointlight.h index ed9789c7..a49fbe0e 100644 --- a/source/materials/pointlight.h +++ b/source/materials/pointlight.h @@ -43,7 +43,10 @@ public: void set_position(const Vector3 &); const Vector3 &get_position(); + /** Sets the constant, linear and quadratic attentuation factors for the + light. */ void set_attenuation(float, float, float); + const float *get_attenuation() const { return attenuation; } protected: