X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Fpointlight.h;h=a49fbe0ef3de09b462cc54c44ad0d5e40b653be8;hp=ed9789c7b0d2de622bc04e61800205260347dc0d;hb=HEAD;hpb=f501ffe2862fd8b4c5793542190e8e0a0d8de667 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: