Reasonable but harmless clang warning cleanup

This commit is contained in:
Paolo Cignoni 2014-07-01 07:21:34 +00:00
parent 26e8652a24
commit d127123513
2 changed files with 25 additions and 25 deletions

View File

@ -205,7 +205,7 @@ MovableCoordinateFrame::MovableCoordinateFrame(float size)
// nothing here // nothing here
} }
void MovableCoordinateFrame::Render(QGLWidget* gla) void MovableCoordinateFrame::Render(QGLWidget* gla, QPainter *p)
{ {
glPushMatrix(); glPushMatrix();
@ -215,7 +215,7 @@ void MovableCoordinateFrame::Render(QGLWidget* gla)
glMultMatrix(Inverse(mrot)); glMultMatrix(Inverse(mrot));
CoordinateFrame::Render(gla); CoordinateFrame::Render(gla,p);
glPopMatrix(); glPopMatrix();
} }

View File

@ -148,7 +148,7 @@ public:
@param glw the GL widget. @param glw the GL widget.
*/ */
virtual void Render(QGLWidget* glw); virtual void Render(QGLWidget* glw,QPainter* p = NULL);
/*! /*!
@brief Reset the position and/or the rotation of the coordinate frame. @brief Reset the position and/or the rotation of the coordinate frame.