Updates for osgdem. Including new read/writeHeightField() methods.
This commit is contained in:
@@ -765,7 +765,6 @@ void Geometry::drawImplementation(State& state) const
|
||||
unsigned int colorIndex = 0;
|
||||
unsigned int secondaryColorIndex = 0;
|
||||
unsigned int fogCoordIndex = 0;
|
||||
unsigned int vertexAttribIndex = 0;
|
||||
|
||||
#if USE_DEFAULT_NORMAL
|
||||
// if no values are defined for normal and color provide some defaults...
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
using namespace osg;
|
||||
|
||||
void HeightField::allocateGrid(unsigned int numColumns,unsigned int numRows)
|
||||
void HeightField::allocate(unsigned int numColumns,unsigned int numRows)
|
||||
{
|
||||
if (_columns!=numColumns || _rows!=numRows)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user