diff options
| author | Brad Kittenbrink <brad@lindenlab.com> | 2008-02-27 18:58:14 +0000 |
|---|---|---|
| committer | Brad Kittenbrink <brad@lindenlab.com> | 2008-02-27 18:58:14 +0000 |
| commit | 6d52efe452aa8469e0343da1c7d108f3f52ab651 (patch) | |
| tree | a87be48e9840d7fc1f7ee514d7c7f994e71fdb3c /indra/newview/llcloud.cpp | |
| parent | 6027ad2630b8650cabcf00628ee9b0d25bedd67f (diff) | |
Merge of windlight into release (QAR-286). This includes all changes in
windlight14 which have passed QA (up through r79932).
svn merge -r 80831:80833 svn+ssh://svn.lindenlab.com/svn/linden/branches/merge_windlight14_r80620
Diffstat (limited to 'indra/newview/llcloud.cpp')
| -rw-r--r-- | indra/newview/llcloud.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/indra/newview/llcloud.cpp b/indra/newview/llcloud.cpp index b3b6b411ab..ee793bf6e4 100644 --- a/indra/newview/llcloud.cpp +++ b/indra/newview/llcloud.cpp @@ -425,41 +425,6 @@ F32 LLCloudLayer::getDensityRegion(const LLVector3 &pos_region) return density; } -// a debug method that may yet be useful -void LLCloudLayer::renderDensityField() -{ -// F32 x, y, z; -// U32 i, j, k; -// LLGLSNoTexture gls_ui_no_texture; -// // Render a bunch of triangles to represent the cloud density field -// glBegin(GL_TRIANGLES); -// for(j=0; j<CLOUD_GRIDS_PER_EDGE-1; j++) -// { -// y = j * mMetersPerGrid; - -// for(i=0; i<CLOUD_GRIDS_PER_EDGE; i++) -// { -// k = i + j*CLOUD_GRIDS_PER_EDGE; -// x = i * mMetersPerGrid; - -// z = 0.5f * CLOUD_MAX_HEIGHT + 40.0f * *(mDensityp + k + CLOUD_GRIDS_PER_EDGE); -// glColor3f(1.0f - *(mDensityp + k + CLOUD_GRIDS_PER_EDGE), *(mDensityp + k + CLOUD_GRIDS_PER_EDGE), 0.0f); -// glVertex3f(x, y+mMetersPerGrid, z); - -// z = 0.5f * CLOUD_MAX_HEIGHT + 40.0f * *(mDensityp + k); -// glColor3f(1.0f - *(mDensityp + k), *(mDensityp + k), 0.0f); -// glVertex3f(x, y, z); - -// z = 0.5f * CLOUD_MAX_HEIGHT + 40.0f * *(mDensityp + k + 1); -// glColor3f(1.0f - *(mDensityp + k + 1), *(mDensityp + k + 1), 0.0f); -// glVertex3f(x+mMetersPerGrid, y, z); - -// } -// } -// glEnd(); -} - - void LLCloudLayer::decompress(LLBitPack &bitpack, LLGroupHeader *group_headerp) { LLPatchHeader patch_header; |
