00001 #include <assert.h>
00002
00003 #include "SDL_thread.h"
00004
00005 #include <vrs/sg/scenething.h>
00006
00007 #include "TerrainLoader.h"
00008
00009 using namespace VRS;
00010
00011
00012 namespace random_racer
00013 {
00014
00015 TerrainLoader::TerrainLoader(
00016 SO<SceneThing> p_thing,
00017 double p_boxSize,
00018 double p_viewSize,
00019 const Vector& p_initialPos)
00020 {
00021 assert(p_viewSize >= p_boxSize);
00022
00023 m_thing = p_thing;
00024 m_boxSize = p_boxSize;
00025 m_viewSize = p_viewSize;
00026 m_position = p_initialPos;
00027 }
00028
00029 TerrainLoader::~TerrainLoader()
00030 {
00031 }
00032
00033 }