Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 10:14:56 +01:00
parent b4900811a7
commit 4dfd655b0c
3 changed files with 3 additions and 3 deletions

View File

@ -659,7 +659,7 @@ void Geode::OutputPolygonDelsUInt(const int iCurrentMaterial, const unsigned int
} }
const int Geode::ProcessMaterial(ostream& fout, const unsigned int igeode) int Geode::ProcessMaterial(ostream& fout, const unsigned int igeode)
{ {
// outputs materials from one geode // outputs materials from one geode
// extended for multiple geode models, GWM 2003. // extended for multiple geode models, GWM 2003.

View File

@ -9,7 +9,7 @@ namespace ac3d
class Geode : public osg::Geode class Geode : public osg::Geode
{ {
public: public:
const int ProcessMaterial(std::ostream& fout, const unsigned int igeode); int ProcessMaterial(std::ostream& fout, const unsigned int igeode);
void ProcessGeometry(std::ostream& fout, const unsigned int igeode); void ProcessGeometry(std::ostream& fout, const unsigned int igeode);
private: private:
void OutputTriangle(const int iCurrentMaterial,const unsigned int surfaceFlags, void OutputTriangle(const int iCurrentMaterial,const unsigned int surfaceFlags,

View File

@ -768,7 +768,7 @@ class LineBin : public PrimitiveBin
return true; return true;
} }
virtual osg::Geode* finalize(const MaterialData& material, const TextureData& textureData) virtual osg::Geode* finalize(const MaterialData& material, const TextureData& /*textureData*/)
{ {
_geode->addDrawable(_geometry.get()); _geode->addDrawable(_geometry.get());
material.toStateSet(_geode->getOrCreateStateSet()); material.toStateSet(_geode->getOrCreateStateSet());