diff options
| author | Rider Linden <rider@lindenlab.com> | 2018-08-22 15:15:17 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2018-08-22 15:15:17 -0700 |
| commit | 2acd13eef8fa182d625fa128714fb931cc67c090 (patch) | |
| tree | 1b8aa6a93c688e418a344e996d3a19b0ae0145ac /indra/newview/llsky.cpp | |
| parent | 9d3a5fef8fc0ec64f018ff6d4f0fca88fd9c33db (diff) | |
| parent | f45edabe478eb2e5ed899377f541875cbd566977 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llsky.cpp')
| -rw-r--r-- | indra/newview/llsky.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llsky.cpp b/indra/newview/llsky.cpp index 9c7fc225a0..0740878901 100644 --- a/indra/newview/llsky.cpp +++ b/indra/newview/llsky.cpp @@ -129,6 +129,22 @@ void LLSky::resetVertexBuffers() } } +void LLSky::setSunScale(F32 sun_scale) +{ + if(mVOSkyp.notNull()) + { + mVOSkyp->setSunScale(sun_scale); + } +} + +void LLSky::setMoonScale(F32 moon_scale) +{ + if(mVOSkyp.notNull()) + { + mVOSkyp->setMoonScale(moon_scale); + } +} + void LLSky::setSunTextures(const LLUUID& sun_texture, const LLUUID& sun_texture_next) { if(mVOSkyp.notNull()) { |
