osgdb_osg loader had more issues with const/non-const discrepancies on

Solaris.  Modified Geoset.cpp and Point.cpp
This commit is contained in:
Don BURNS
2002-10-08 08:39:42 +00:00
parent 588bc1da3c
commit bfedea5636
2 changed files with 8 additions and 8 deletions

View File

@@ -196,7 +196,7 @@ GeoSet::~GeoSet()
}
void GeoSet::setColorBinding( const BindingType binding )
void GeoSet::setColorBinding( BindingType binding )
{
if( binding != BIND_DEFAULT &&
binding != BIND_OFF &&
@@ -214,7 +214,7 @@ void GeoSet::setColorBinding( const BindingType binding )
}
void GeoSet::setNormalBinding( const BindingType binding )
void GeoSet::setNormalBinding( BindingType binding )
{
if( binding != BIND_DEFAULT &&
binding != BIND_OFF &&
@@ -232,7 +232,7 @@ void GeoSet::setNormalBinding( const BindingType binding )
}
void GeoSet::setTextureBinding( const BindingType binding )
void GeoSet::setTextureBinding( BindingType binding )
{
if( binding != BIND_DEFAULT &&
binding != BIND_OFF &&
@@ -559,7 +559,7 @@ bool GeoSet::check() const
}
void GeoSet::setPrimType( const PrimitiveType type )
void GeoSet::setPrimType( PrimitiveType type )
{
switch( type )
{
@@ -769,7 +769,7 @@ void GeoSet::setTextureCoords( Vec2 *cp, IndexPointer& ip )
set_fast_path();
}
void GeoSet::setInterleavedArray( const InterleaveArrayType format, float *pointer )
void GeoSet::setInterleavedArray( InterleaveArrayType format, float *pointer )
{
_iaformat = format;
@@ -797,7 +797,7 @@ void GeoSet::setInterleavedArray( const InterleaveArrayType format, float *point
}
void GeoSet::setInterleavedArray( const InterleaveArrayType format, float *ia, ushort *iai )
void GeoSet::setInterleavedArray( InterleaveArrayType format, float *ia, ushort *iai )
{
_iaformat = format;
@@ -826,7 +826,7 @@ void GeoSet::setInterleavedArray( const InterleaveArrayType format, float *ia, u
set_fast_path();
}
void GeoSet::setInterleavedArray( const InterleaveArrayType format, float *ia, IndexPointer& iai )
void GeoSet::setInterleavedArray( InterleaveArrayType format, float *ia, IndexPointer& iai )
{
_iaformat = format;

View File

@@ -76,7 +76,7 @@ void Point::setSize( float size )
}
void Point::setFadeThresholdSize(const float fadeThresholdSize)
void Point::setFadeThresholdSize(float fadeThresholdSize)
{
_fadeThresholdSize = fadeThresholdSize;
}