diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2021-11-01 16:30:01 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2021-11-01 16:30:01 +0000 |
commit | 2369af6999e65d523ff4db06e7d5fda792153bee (patch) | |
tree | a4bd2bdddb24ae0b443878b0337e77787d3fea40 /indra/newview/llvowlsky.h | |
parent | 68b75be652575ff301172b7b19522d4f0494bdf0 (diff) | |
parent | 1be8a8d10bd3542b0b5c2943a508509c5cfcf3ef (diff) |
Merged in SL-16127_More_tweaks (pull request #752)
SL-16127 More tweaks
Approved-by: Euclid Linden
Approved-by: Dave Parks
Diffstat (limited to 'indra/newview/llvowlsky.h')
-rw-r--r-- | indra/newview/llvowlsky.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/indra/newview/llvowlsky.h b/indra/newview/llvowlsky.h index 2b7ebe75dd..3853dd2c70 100644 --- a/indra/newview/llvowlsky.h +++ b/indra/newview/llvowlsky.h @@ -55,8 +55,6 @@ public: void restoreGL(); private: - // a tiny helper function for controlling the sky dome tesselation. - static F32 calcPhi(U32 i); // helper function for initializing the stars. void initStars(); @@ -66,11 +64,12 @@ private: // begin_stack is the first stack to be included, end_stack is the first // stack not to be included. static void buildStripsBuffer(U32 begin_stack, U32 end_stack, - U32& vertex_count, - U32& index_count, - LLStrider<LLVector3> & vertices, - LLStrider<LLVector2> & texCoords, - LLStrider<U16> & indices); + LLStrider<LLVector3> & vertices, + LLStrider<LLVector2> & texCoords, + LLStrider<U16> & indices, + const F32 RADIUS, + const U32& num_slices, + const U32& num_stacks); // helper function for updating the stars colors. void updateStarColors(); |