aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvosky.h
diff options
context:
space:
mode:
authorAleric Inglewood2010-09-28 03:06:39 +0200
committerMcCabe Maxsted2010-10-01 20:38:10 -0700
commitcf47ba8754b6a8928efed885913ccbca5fad77a8 (patch)
treed96308e9acaa6e3dfc2f2463ba0912e7a3abdba9 /linden/indra/newview/llvosky.h
parentRED-554: SNOW-623: Add support for boost 1.42 (diff)
downloadmeta-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 '')
-rw-r--r--linden/indra/newview/llvosky.h7
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
314const LLColor3 gAirScaSeaLevel = calc_air_sca_sea_level(); 314// Non-POD constants.
315const F32 AIR_SCA_INTENS = color_intens(gAirScaSeaLevel); 315extern LLColor3 const gAirScaSeaLevel;
316const F32 AIR_SCA_AVG = AIR_SCA_INTENS / 3.f; 316extern F32 const AIR_SCA_INTENS;
317extern F32 const AIR_SCA_AVG;
317 318
318class LLHaze 319class LLHaze
319{ 320{