-bool SGGenTile( const string& path, const SGBucket& b,
- SGMaterialLib *matlib, osg::Group *geometry );
+inline bool SGGenTile( const std::string&, const SGBucket& b,
+ SGMaterialLib *matlib, osg::Group* group )
+{
+ // Generate an ocean tile
+ osg::Node* node = SGOceanTile(b, matlib);
+ if (!node)
+ return false;
+ group->addChild(node);
+ return true;
+}