Removed deprecated API in preparation for 0.9.9 release.
This commit is contained in:
@@ -192,7 +192,7 @@ void build_world(osg::Group *root)
|
||||
float z_scale = scale*3.0f;
|
||||
|
||||
osg::HeightField* grid = new osg::HeightField;
|
||||
grid->allocateGrid(38,39);
|
||||
grid->allocate(38,39);
|
||||
grid->setXInterval(scale);
|
||||
grid->setYInterval(scale);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user