warning fixes for IRIX.
This commit is contained in:
parent
c60b5b6522
commit
94d8e72ad3
@ -42,9 +42,9 @@ class FltFile : public osg::Referenced
|
|||||||
void setMaterialPool(MaterialPool* materialPool){ _materialPool = materialPool; }
|
void setMaterialPool(MaterialPool* materialPool){ _materialPool = materialPool; }
|
||||||
void setInstancePool(InstancePool* instancePool){ _instancePool = instancePool; }
|
void setInstancePool(InstancePool* instancePool){ _instancePool = instancePool; }
|
||||||
|
|
||||||
inline const bool useInternalColorPalette() const { return _useInternalColorPalette; }
|
inline bool useInternalColorPalette() const { return _useInternalColorPalette; }
|
||||||
inline const bool useInternalTexturePalette() const { return _useInternalTexturePalette; }
|
inline bool useInternalTexturePalette() const { return _useInternalTexturePalette; }
|
||||||
inline const bool useInternalMaterialPalette() const { return _useInternalMaterialPalette; }
|
inline bool useInternalMaterialPalette() const { return _useInternalMaterialPalette; }
|
||||||
|
|
||||||
void setUseTextureAlphaForTransparancyBinning(bool flag) { _useTextureAlphaForTransparancyBinning=flag; }
|
void setUseTextureAlphaForTransparancyBinning(bool flag) { _useTextureAlphaForTransparancyBinning=flag; }
|
||||||
bool getUseTextureAlphaForTransparancyBinning() const { return _useTextureAlphaForTransparancyBinning; }
|
bool getUseTextureAlphaForTransparancyBinning() const { return _useTextureAlphaForTransparancyBinning; }
|
||||||
|
@ -119,7 +119,7 @@ class DynGeoSet : public osg::Referenced
|
|||||||
void setPrimType(osg::PrimitiveSet::Mode type) { _primtype=type; }
|
void setPrimType(osg::PrimitiveSet::Mode type) { _primtype=type; }
|
||||||
osg::PrimitiveSet::Mode getPrimType() const { return _primtype; }
|
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 addCoord(const osg::Vec3& coord) { _coordList.push_back(coord); }
|
||||||
inline void addNormal(const osg::Vec3& normal) { _normalList.push_back(normal); }
|
inline void addNormal(const osg::Vec3& normal) { _normalList.push_back(normal); }
|
||||||
inline void addColor(const osg::Vec4& color) { _colorList.push_back(color); }
|
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);
|
void addToGeometry(osg::Geometry* geom);
|
||||||
|
|
||||||
inline const int primLenListSize() const { return _primLenList.size(); }
|
inline int primLenListSize() const { return _primLenList.size(); }
|
||||||
inline const int coordListSize() const { return _coordList.size(); }
|
inline int coordListSize() const { return _coordList.size(); }
|
||||||
inline const int normalListSize() const { return _normalList.size(); }
|
inline int normalListSize() const { return _normalList.size(); }
|
||||||
inline const int colorListSize() const { return _colorList.size(); }
|
inline int colorListSize() const { return _colorList.size(); }
|
||||||
inline const int tcoordListSize() const { return _tcoordList.size(); }
|
inline int tcoordListSize() const { return _tcoordList.size(); }
|
||||||
inline void setDetailTextureAttrData(AttrData *attrdata) {_attrdata=attrdata; }
|
inline void setDetailTextureAttrData(AttrData *attrdata) {_attrdata=attrdata; }
|
||||||
|
|
||||||
osg::Geometry* getGeometry() {
|
osg::Geometry* getGeometry() {
|
||||||
|
Loading…
Reference in New Issue
Block a user