Fixed unused parameter warning.
This commit is contained in:
parent
b4900811a7
commit
4dfd655b0c
@ -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.
|
||||||
|
@ -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,
|
||||||
|
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user