Commit 644b9a9f authored by Dirk Wilden's avatar Dirk Wilden
Browse files

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10610 383ad7c9-94d9-4d36-a494-682f7c89f535
parent b90f3cea
......@@ -71,7 +71,7 @@ namespace SceneGraph {
void
QtWidgetNode::
boundingBox(Vec3d& _bbMin, Vec3d& _bbMax)
boundingBox(Vec3d& /*_bbMin*/, Vec3d& /*_bbMax*/)
{
// No bounding box as this experiment is not really in the scene but above it
}
......@@ -93,12 +93,8 @@ availableDrawModes() const
void
QtWidgetNode::
draw(GLState& _state , DrawModes::DrawMode _drawMode)
draw(GLState& _state , DrawModes::DrawMode /*_drawMode*/)
{
double height = 0.0;
double width = 0.0;
// Project 3d point onto screen
ACG::Vec3d projected = _state.project(position_);
......
......@@ -97,7 +97,7 @@ namespace QtWidgets {
SceneGraphWidgetGenerator::SceneGraphWidgetGenerator() {
}
QWidget* SceneGraphWidgetGenerator::getWidget(SceneGraph::BaseNode* _node ) {
QWidget* SceneGraphWidgetGenerator::getWidget(SceneGraph::BaseNode* /*_node*/ ) {
// Warn as this you have to derive from this class before it can be used!
std::cerr << "SceneGraphWidgetGenerator::getWidget not implemented!" << std::endl;
return 0;
......@@ -250,7 +250,7 @@ update(SceneGraph::BaseNode* _node, Item* _parent)
void
QtSceneGraphWidget::
slotItemExpandedOrCollapsed( QTreeWidgetItem* _item )
slotItemExpandedOrCollapsed( QTreeWidgetItem* /*_item*/ )
{
resizeColumnToContents( 0 );
}
......
......@@ -118,7 +118,7 @@ GridNode::boundingBox(Vec3d& _bbMin, Vec3d& _bbMax)
//----------------------------------------------------------------
void
GridNode::pick(GLState& _state, PickTarget _target)
GridNode::pick(GLState& /*_state*/, PickTarget /*_target*/)
{
......
......@@ -556,7 +556,6 @@ draw_faces(FaceMode _mode) {
if ( stripProcessor_.perFaceTextureIndexAvailable() && (textureMap_ != 0) ) {
int lastTexture = -1;
int texture = 0;
for ( uint i = 0 ; i < stripProcessor_.textureRenderData()->size() ; ++i ) {
int texture = (*stripProcessor_.textureRenderData())[i].textureId;
......
......@@ -95,7 +95,7 @@ bool PickAction::operator()(BaseNode* _node)
return true;
}
bool PickAction::operator()(BaseNode* _node, GLState& _state) {
bool PickAction::operator()(BaseNode* _node, GLState& /*_state*/) {
return operator()(_node);
}
......
......@@ -276,7 +276,7 @@ void
traverse_multipass( BaseNode* _node,
Action& _action,
GLState& _state,
DrawModes::DrawMode _drawmode=DrawModes::DEFAULT)
DrawModes::DrawMode /*_drawmode*/=DrawModes::DEFAULT)
{
// Reset render pass counter
_state.reset_render_pass();
......
......@@ -83,7 +83,7 @@ StencilRefNode::StencilRefNode (BaseNode* _parent,
//----------------------------------------------------------------------------
void StencilRefNode::enter(GLState& _state, DrawModes::DrawMode _drawmode)
void StencilRefNode::enter(GLState& /*_state*/, DrawModes::DrawMode /*_drawmode*/)
{
if(visible()) {
glPushAttrib (GL_STENCIL_BUFFER_BIT);
......@@ -94,7 +94,7 @@ void StencilRefNode::enter(GLState& _state, DrawModes::DrawMode _drawmode)
//----------------------------------------------------------------------------
void StencilRefNode::leave(GLState& _state, DrawModes::DrawMode _drawmode)
void StencilRefNode::leave(GLState& /*_state*/, DrawModes::DrawMode /*_drawmode*/)
{
if(visible()) {
glPopAttrib ();
......
......@@ -191,7 +191,6 @@ buildStripsPolyMesh() {
typename FaceHandles::iterator fh_it, fh_end;
typename Mesh::FaceIter f_it, f_end=mesh_.faces_end();
uint k = 0;
for (f_it=mesh_.faces_begin(); true; ) {
// find start face
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment