diff options
author | Aleric Inglewood | 2010-09-28 03:06:39 +0200 |
---|---|---|
committer | McCabe Maxsted | 2010-10-01 20:38:10 -0700 |
commit | cf47ba8754b6a8928efed885913ccbca5fad77a8 (patch) | |
tree | d96308e9acaa6e3dfc2f2463ba0912e7a3abdba9 /linden/indra/newview/llvosky.h | |
parent | RED-554: SNOW-623: Add support for boost 1.42 (diff) | |
download | meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.zip meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.gz meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.bz2 meta-impy-cf47ba8754b6a8928efed885913ccbca5fad77a8.tar.xz |
RED-556: SNOW-800: Massively duplicated objects
See http://redmine.imprudenceviewer.org/issues/556
Diffstat (limited to 'linden/indra/newview/llvosky.h')
-rw-r--r-- | linden/indra/newview/llvosky.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llvosky.h b/linden/indra/newview/llvosky.h index dabf5b1..1370824 100644 --- a/linden/indra/newview/llvosky.h +++ b/linden/indra/newview/llvosky.h | |||
@@ -311,9 +311,10 @@ LL_FORCE_INLINE LLColor3 calc_air_sca_sea_level() | |||
311 | return dens_div_N * color_div ( mult_const, wl4 ); | 311 | return dens_div_N * color_div ( mult_const, wl4 ); |
312 | } | 312 | } |
313 | 313 | ||
314 | const LLColor3 gAirScaSeaLevel = calc_air_sca_sea_level(); | 314 | // Non-POD constants. |
315 | const F32 AIR_SCA_INTENS = color_intens(gAirScaSeaLevel); | 315 | extern LLColor3 const gAirScaSeaLevel; |
316 | const F32 AIR_SCA_AVG = AIR_SCA_INTENS / 3.f; | 316 | extern F32 const AIR_SCA_INTENS; |
317 | extern F32 const AIR_SCA_AVG; | ||
317 | 318 | ||
318 | class LLHaze | 319 | class LLHaze |
319 | { | 320 | { |