Ver código fonte

remove unused parameter

Former-commit-id: 563af0790098efc73a50ea49420f3aeb32445834
Alec Jacobson 9 anos atrás
pai
commit
ac03066a07
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      include/igl/opengl2/draw_skeleton_3d.cpp

+ 2 - 2
include/igl/opengl2/draw_skeleton_3d.cpp

@@ -76,7 +76,7 @@ IGL_INLINE void igl::opengl2::draw_skeleton_3d(
     draw_circle();
     glPopMatrix();
   };
-  auto draw_pyramid = [](const double r)
+  auto draw_pyramid = []()
   {
     glBegin(GL_LINE_STRIP);
     glVertex3d(0, 1,-1);
@@ -128,7 +128,7 @@ IGL_INLINE void igl::opengl2::draw_skeleton_3d(
       glTranslated(u(0),u(1),u(2));
       glMultMatrixd(Affine3d(q).matrix().data());
       glScaled(b.norm()-2.*r,r,r);
-      draw_pyramid(r);
+      draw_pyramid();
       glPopMatrix();
     }
     glTranslated(b(0),b(1),b(2));