Ver Fonte

rm PlainObjectBase constructors

Former-commit-id: 772273af855268ceba8cf3d44ad734c36274d9b3
Alec Jacobson há 8 anos atrás
pai
commit
dfbb93eac6
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      include/igl/opengl2/draw_skeleton_vector_graphics.cpp

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

@@ -96,8 +96,8 @@ IGL_INLINE void igl::opengl2::draw_skeleton_vector_graphics(
   const float * point_color,
   const float * line_color)
 {
-  Eigen::PlainObjectBase<DerivedC> CT;
-  Eigen::PlainObjectBase<DerivedBE> BET;
+  DerivedC CT;
+  DerivedBE BET;
   const int dim = T.cols();
   assert(dim == C.cols());
   CT.resize(2*BE.rows(),C.cols());