diff options
Diffstat (limited to 'linden/indra/newview/llsprite.h')
-rw-r--r-- | linden/indra/newview/llsprite.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llsprite.h b/linden/indra/newview/llsprite.h index 7170cb2..dbefc87 100644 --- a/linden/indra/newview/llsprite.h +++ b/linden/indra/newview/llsprite.h | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2001-2008, Linden Research, Inc. | 7 | * Copyright (c) 2001-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -73,7 +73,7 @@ public: | |||
73 | void setColor(const LLColor4 &color); | 73 | void setColor(const LLColor4 &color); |
74 | void setColor(const F32 r, const F32 g, const F32 b, const F32 a); | 74 | void setColor(const F32 r, const F32 g, const F32 b, const F32 a); |
75 | void setAlpha(const F32 alpha) { mColor.mV[VALPHA] = alpha; } | 75 | void setAlpha(const F32 alpha) { mColor.mV[VALPHA] = alpha; } |
76 | void setNormal(const LLVector3 &normal) { sNormal = normal; sNormal.normVec();} | 76 | void setNormal(const LLVector3 &normal) { sNormal = normal; sNormal.normalize();} |
77 | 77 | ||
78 | F32 getAlpha(); | 78 | F32 getAlpha(); |
79 | 79 | ||