ソースを参照

remove lint from per_vertex_normals

Former-commit-id: 8918dc1e64fde45077ceb8b5c5dbda352aa6d82d
Alec Jacobson (jalec 11 年 前
コミット
29e58000b6
1 ファイル変更0 行追加15 行削除
  1. 0 15
      include/igl/per_vertex_normals.cpp

+ 0 - 15
include/igl/per_vertex_normals.cpp

@@ -12,21 +12,6 @@ IGL_INLINE void igl::per_vertex_normals(
   Eigen::PlainObjectBase<DerivedV> PFN;
   igl::per_face_normals(V,F,PFN);
   return igl::per_vertex_normals(V,F,PFN,N);
-
-  //// Resize for output
-  //N = Eigen::PlainObjectBase<DerivedV>::Zero(V.rows(),3);
-
-  //// loop over faces
-  //for(int i = 0; i < F.rows();i++)
-  //{
-  //  // throw normal at each corner
-  //  for(int j = 0; j < 3;j++)
-  //  {
-  //    N.row(F(i,j)) += PFN.row(i);
-  //  }
-  //}
-  //// normalize each row
-  //igl::normalize_row_lengths(N,N);
 }
 
 template <typename DerivedV, typename DerivedF>