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 { ...@@ -71,7 +71,7 @@ namespace SceneGraph {
void void
QtWidgetNode:: 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 // No bounding box as this experiment is not really in the scene but above it
} }
...@@ -93,12 +93,8 @@ availableDrawModes() const ...@@ -93,12 +93,8 @@ availableDrawModes() const
void void
QtWidgetNode:: 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 // Project 3d point onto screen
ACG::Vec3d projected = _state.project(position_); ACG::Vec3d projected = _state.project(position_);
......
...@@ -97,7 +97,7 @@ namespace QtWidgets { ...@@ -97,7 +97,7 @@ namespace QtWidgets {
SceneGraphWidgetGenerator::SceneGraphWidgetGenerator() { 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! // Warn as this you have to derive from this class before it can be used!
std::cerr << "SceneGraphWidgetGenerator::getWidget not implemented!" << std::endl; std::cerr << "SceneGraphWidgetGenerator::getWidget not implemented!" << std::endl;
return 0; return 0;
...@@ -250,7 +250,7 @@ update(SceneGraph::BaseNode* _node, Item* _parent) ...@@ -250,7 +250,7 @@ update(SceneGraph::BaseNode* _node, Item* _parent)
void void
QtSceneGraphWidget:: QtSceneGraphWidget::
slotItemExpandedOrCollapsed( QTreeWidgetItem* _item ) slotItemExpandedOrCollapsed( QTreeWidgetItem* /*_item*/ )
{ {
resizeColumnToContents( 0 ); resizeColumnToContents( 0 );
} }
......
...@@ -118,7 +118,7 @@ GridNode::boundingBox(Vec3d& _bbMin, Vec3d& _bbMax) ...@@ -118,7 +118,7 @@ GridNode::boundingBox(Vec3d& _bbMin, Vec3d& _bbMax)
//---------------------------------------------------------------- //----------------------------------------------------------------
void void
GridNode::pick(GLState& _state, PickTarget _target) GridNode::pick(GLState& /*_state*/, PickTarget /*_target*/)
{ {
......
...@@ -556,7 +556,6 @@ draw_faces(FaceMode _mode) { ...@@ -556,7 +556,6 @@ draw_faces(FaceMode _mode) {
if ( stripProcessor_.perFaceTextureIndexAvailable() && (textureMap_ != 0) ) { if ( stripProcessor_.perFaceTextureIndexAvailable() && (textureMap_ != 0) ) {
int lastTexture = -1; int lastTexture = -1;
int texture = 0;
for ( uint i = 0 ; i < stripProcessor_.textureRenderData()->size() ; ++i ) { for ( uint i = 0 ; i < stripProcessor_.textureRenderData()->size() ; ++i ) {
int texture = (*stripProcessor_.textureRenderData())[i].textureId; int texture = (*stripProcessor_.textureRenderData())[i].textureId;
......
...@@ -95,7 +95,7 @@ bool PickAction::operator()(BaseNode* _node) ...@@ -95,7 +95,7 @@ bool PickAction::operator()(BaseNode* _node)
return true; return true;
} }
bool PickAction::operator()(BaseNode* _node, GLState& _state) { bool PickAction::operator()(BaseNode* _node, GLState& /*_state*/) {
return operator()(_node); return operator()(_node);
} }
......
...@@ -276,7 +276,7 @@ void ...@@ -276,7 +276,7 @@ void
traverse_multipass( BaseNode* _node, traverse_multipass( BaseNode* _node,
Action& _action, Action& _action,
GLState& _state, GLState& _state,
DrawModes::DrawMode _drawmode=DrawModes::DEFAULT) DrawModes::DrawMode /*_drawmode*/=DrawModes::DEFAULT)
{ {
// Reset render pass counter // Reset render pass counter
_state.reset_render_pass(); _state.reset_render_pass();
......
...@@ -83,7 +83,7 @@ StencilRefNode::StencilRefNode (BaseNode* _parent, ...@@ -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()) { if(visible()) {
glPushAttrib (GL_STENCIL_BUFFER_BIT); glPushAttrib (GL_STENCIL_BUFFER_BIT);
...@@ -94,7 +94,7 @@ void StencilRefNode::enter(GLState& _state, DrawModes::DrawMode _drawmode) ...@@ -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()) { if(visible()) {
glPopAttrib (); glPopAttrib ();
......
...@@ -191,7 +191,6 @@ buildStripsPolyMesh() { ...@@ -191,7 +191,6 @@ buildStripsPolyMesh() {
typename FaceHandles::iterator fh_it, fh_end; typename FaceHandles::iterator fh_it, fh_end;
typename Mesh::FaceIter f_it, f_end=mesh_.faces_end(); typename Mesh::FaceIter f_it, f_end=mesh_.faces_end();
uint k = 0;
for (f_it=mesh_.faces_begin(); true; ) { for (f_it=mesh_.faces_begin(); true; ) {
// find start face // find start face
......
Supports Markdown
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