Compile under MSVC

This commit is contained in:
Frederic Bouvier 2011-04-26 19:45:40 +02:00
parent 1cd17e9edd
commit a2121b86df
2 changed files with 4 additions and 2 deletions

View File

@ -68,6 +68,8 @@ float SGCloudField::fieldSize = 50000.0f;
double SGCloudField::timer_dt = 0.0;
float SGCloudField::view_distance = 20000.0f;
bool SGCloudField::wrap = true;
float SGCloudField::RADIUS_LEVEL_1 = 20000.0f;
float SGCloudField::RADIUS_LEVEL_2 = 5000.0f;
SGVec3f SGCloudField::view_vec, SGCloudField::view_X, SGCloudField::view_Y;

View File

@ -73,8 +73,8 @@ private:
float Rnd(float);
// Radius of the LoD nodes for the dynamic quadtrees.
static const float RADIUS_LEVEL_1 = 20000.0f;
static const float RADIUS_LEVEL_2 = 5000.0f;
static float RADIUS_LEVEL_1;
static float RADIUS_LEVEL_2;
// this is a relative position only, with that we can move all clouds at once
SGVec3f relative_position;