From 6667b7cc95645d67e57e5f2030d3d7f65d6b0a70 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 28 Mar 2013 12:36:56 +0000 Subject: [PATCH] Insight from James Scott. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3781 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/planets/calc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sc2/src/uqm/planets/calc.c b/sc2/src/uqm/planets/calc.c index 047a990f2..09bd46167 100644 --- a/sc2/src/uqm/planets/calc.c +++ b/sc2/src/uqm/planets/calc.c @@ -166,6 +166,11 @@ GeneratePlanetComposition (PLANET_INFO *PlanetInfoPtr, SIZE SurfaceTemp, // have the colour you'd expect based on the true temperature. // (eg. Beta Corvi I). I don't know what the idea behind this is, // but the if statement must be there for a reason. -- SvdB +// Update 2013-03-28: The contents of the if() block is probably there to +// model a greenhouse effect. It seems that it is taken into account when +// calculating the actual temperature (when landing or scanning), but not +// when determining the colors of the drawn orbits. (Thanks to James Scott +// for this insight.) static SIZE CalcTemp (SYSTEM_INFO *SysInfoPtr, SIZE radius) {