*** empty log message ***
This commit is contained in:
@@ -68,7 +68,7 @@ osg::Node* createBase(const osg::Vec3& center,float radius)
|
||||
geode->setStateSet( stateset );
|
||||
|
||||
|
||||
osg::Grid* grid = new osg::Grid;
|
||||
osg::HeightField* grid = new osg::HeightField;
|
||||
grid->allocateGrid(38,39);
|
||||
grid->setOrigin(center+osg::Vec3(-radius,-radius,0.0f));
|
||||
grid->setXInterval(radius*2.0f/(float)(38-1));
|
||||
|
||||
Reference in New Issue
Block a user