Added include/osg/EarthSky and src/osg/EarthSky to cvs.

Also move osg across to using radians for angular paramters by default.
By defining USE_DEGREES_INTERNALLY you can get the OSG to revert to
the old style degrees. This later feature is deprecated and only meant
for helping comptability in the interim.
This commit is contained in:
Robert Osfield
2001-10-02 15:59:49 +00:00
parent 430c8606e9
commit 7a7a26c2ea
13 changed files with 112 additions and 24 deletions

20
src/osg/EarthSky.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "osg/EarthSky"
#include <algorithm>
using namespace osg;
/**
* EarthSky constructor.
*/
EarthSky::EarthSky()
{
StateSet* stateset = new StateSet;
stateset->setRenderBinDetails(-1,"RenderBin");
setStateSet(stateset);
_requiresClear = true;
_clearColor.set(0.0f,0.0f,0.0f,1.0f);
}