From David Callu, warning fixes and removal of spaces at end of lines.
This commit is contained in:
@@ -247,7 +247,7 @@ void FixedFunctionTechnique::init()
|
||||
_node = texgenNode_0;
|
||||
}
|
||||
|
||||
void FixedFunctionTechnique::update(osgUtil::UpdateVisitor* uv)
|
||||
void FixedFunctionTechnique::update(osgUtil::UpdateVisitor* /*uv*/)
|
||||
{
|
||||
// OSG_NOTICE<<"FixedFunctionTechnique:update(osgUtil::UpdateVisitor* nv):"<<std::endl;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ ImageDetails::ImageDetails():
|
||||
}
|
||||
|
||||
ImageDetails::ImageDetails(const ImageDetails& rhs,const osg::CopyOp& copyop):
|
||||
osg::Object(rhs, copyop),
|
||||
_texelOffset(rhs._texelOffset),
|
||||
_texelScale(rhs._texelScale),
|
||||
_matrix(rhs._matrix)
|
||||
@@ -511,7 +512,7 @@ struct ApplyTransferFunctionOperator
|
||||
luminance(a);
|
||||
}
|
||||
|
||||
inline void luminance_alpha(float l,float a) const
|
||||
inline void luminance_alpha(float l,float /*a*/) const
|
||||
{
|
||||
luminance(l);
|
||||
}
|
||||
@@ -521,7 +522,7 @@ struct ApplyTransferFunctionOperator
|
||||
luminance((r+g+b)*0.3333333);
|
||||
}
|
||||
|
||||
inline void rgba(float r,float g,float b,float a) const
|
||||
inline void rgba(float /*r*/,float /*g*/,float /*b*/,float a) const
|
||||
{
|
||||
luminance(a);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ bool Locator::convertModelToLocal(const osg::Vec3d& world, osg::Vec3d& local) co
|
||||
return true;
|
||||
}
|
||||
|
||||
bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const
|
||||
bool Locator::computeLocalBounds(Locator& /*source*/, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const
|
||||
{
|
||||
typedef std::list<osg::Vec3d> Corners;
|
||||
Corners corners;
|
||||
|
||||
@@ -532,7 +532,7 @@ void RayTracedTechnique::init()
|
||||
}
|
||||
}
|
||||
|
||||
void RayTracedTechnique::update(osgUtil::UpdateVisitor* uv)
|
||||
void RayTracedTechnique::update(osgUtil::UpdateVisitor* /*uv*/)
|
||||
{
|
||||
// OSG_NOTICE<<"RayTracedTechnique:update(osgUtil::UpdateVisitor* nv):"<<std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user