Added exports to TileID classes, and moved their constructors to .cpp's.

This commit is contained in:
Robert Osfield
2009-02-05 12:36:53 +00:00
parent 2ab6a762c8
commit 33cba8392a
4 changed files with 45 additions and 20 deletions

View File

@@ -23,6 +23,24 @@
using namespace osg;
using namespace osgTerrain;
/////////////////////////////////////////////////////////////////////////////////
//
// TileID
//
TileID::TileID():
level(-1),
x(-1),
y(-1)
{
}
TileID::TileID(int in_level, int in_x, int in_y):
level(in_level),
x(in_x),
y(in_y)
{
}
/////////////////////////////////////////////////////////////////////////////////
//
// TerrainTile

View File

@@ -18,6 +18,27 @@
using namespace osg;
using namespace osgVolume;
/////////////////////////////////////////////////////////////////////////////////
//
// TileID
//
TileID::TileID():
level(-1),
x(-1),
y(-1),
z(-1)
{
}
TileID::TileID(int in_level, int in_x, int in_y, int in_z):
level(in_level),
x(in_x),
y(in_y),
z(in_z)
{
}
/////////////////////////////////////////////////////////////////////////////////
//
// VolumeTile