From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
This commit is contained in:
@@ -489,7 +489,7 @@ void GeometryTechnique::applyColorLayers()
|
||||
|
||||
if (tf)
|
||||
{
|
||||
// up the precision of hte internal texture format to its maximum.
|
||||
// up the precision of the internal texture format to its maximum.
|
||||
//image->setInternalTextureFormat(GL_LUMINANCE32F_ARB);
|
||||
image->setInternalTextureFormat(GL_LUMINANCE16);
|
||||
}
|
||||
@@ -589,7 +589,7 @@ void GeometryTechnique::applyTransparency()
|
||||
osg::TransferFunction* colorTF = _terrain->getColorTransferFunction(0);
|
||||
|
||||
// if the elevationLayer and colorLayer are the same, and there is colorTF then
|
||||
// simply assing as a texture coordinate.
|
||||
// simply assign as a texture coordinate.
|
||||
if ((elevationLayer==colorLayer) && colorTF) colorLayer = 0;
|
||||
|
||||
bool containsTransparency = false;
|
||||
|
||||
@@ -233,7 +233,7 @@ unsigned int ImageLayer::getModifiedCount() const
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// HieghtFieldLayer
|
||||
// HeightFieldLayer
|
||||
//
|
||||
HeightFieldLayer::HeightFieldLayer():
|
||||
_modifiedCount(0)
|
||||
|
||||
@@ -60,7 +60,7 @@ void TerrainTechnique::cleanSceneGraph()
|
||||
|
||||
void TerrainTechnique::dirty()
|
||||
{
|
||||
// osg::notify(osg::NOTICE)<<className()<<"::dirty(..) not implementated yet"<<std::endl;
|
||||
// osg::notify(osg::NOTICE)<<className()<<"::dirty(..) not implemented yet"<<std::endl;
|
||||
_dirty = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user