warning fixes for IRIX.

This commit is contained in:
Robert Osfield 2003-07-11 22:05:34 +00:00
parent c60b5b6522
commit 94d8e72ad3
2 changed files with 9 additions and 9 deletions

View File

@ -42,9 +42,9 @@ class FltFile : public osg::Referenced
void setMaterialPool(MaterialPool* materialPool){ _materialPool = materialPool; }
void setInstancePool(InstancePool* instancePool){ _instancePool = instancePool; }
inline const bool useInternalColorPalette() const { return _useInternalColorPalette; }
inline const bool useInternalTexturePalette() const { return _useInternalTexturePalette; }
inline const bool useInternalMaterialPalette() const { return _useInternalMaterialPalette; }
inline bool useInternalColorPalette() const { return _useInternalColorPalette; }
inline bool useInternalTexturePalette() const { return _useInternalTexturePalette; }
inline bool useInternalMaterialPalette() const { return _useInternalMaterialPalette; }
void setUseTextureAlphaForTransparancyBinning(bool flag) { _useTextureAlphaForTransparancyBinning=flag; }
bool getUseTextureAlphaForTransparancyBinning() const { return _useTextureAlphaForTransparancyBinning; }

View File

@ -119,7 +119,7 @@ class DynGeoSet : public osg::Referenced
void setPrimType(osg::PrimitiveSet::Mode type) { _primtype=type; }
osg::PrimitiveSet::Mode getPrimType() const { return _primtype; }
inline void addPrimLen(const int len) { _primLenList.push_back(len); }
inline void addPrimLen(int len) { _primLenList.push_back(len); }
inline void addCoord(const osg::Vec3& coord) { _coordList.push_back(coord); }
inline void addNormal(const osg::Vec3& normal) { _normalList.push_back(normal); }
inline void addColor(const osg::Vec4& color) { _colorList.push_back(color); }
@ -130,11 +130,11 @@ class DynGeoSet : public osg::Referenced
void addToGeometry(osg::Geometry* geom);
inline const int primLenListSize() const { return _primLenList.size(); }
inline const int coordListSize() const { return _coordList.size(); }
inline const int normalListSize() const { return _normalList.size(); }
inline const int colorListSize() const { return _colorList.size(); }
inline const int tcoordListSize() const { return _tcoordList.size(); }
inline int primLenListSize() const { return _primLenList.size(); }
inline int coordListSize() const { return _coordList.size(); }
inline int normalListSize() const { return _normalList.size(); }
inline int colorListSize() const { return _colorList.size(); }
inline int tcoordListSize() const { return _tcoordList.size(); }
inline void setDetailTextureAttrData(AttrData *attrdata) {_attrdata=attrdata; }
osg::Geometry* getGeometry() {