فهرست منبع

removeUnreferenced --> remove_unreferenced

Former-commit-id: b16ee1576a555b7a72e3e803b040d7067c2662dc
Alec Jacobson 11 سال پیش
والد
کامیت
8c4075163a
2فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 2 2
      include/igl/remove_unreferenced.cpp
  2. 6 6
      include/igl/remove_unreferenced.h

+ 2 - 2
include/igl/removeUnreferenced.cpp → include/igl/remove_unreferenced.cpp

@@ -5,10 +5,10 @@
 // This Source Code Form is subject to the terms of the Mozilla Public License 
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
-#include "removeUnreferenced.h"
+#include "remove_unreferenced.h"
 
 template <typename Scalar, typename Index>
-IGL_INLINE void igl::removeUnreferenced(
+IGL_INLINE void igl::remove_unreferenced(
   const Eigen::PlainObjectBase<Scalar> &V,
   const Eigen::PlainObjectBase<Index> &F,
   Eigen::PlainObjectBase<Scalar> &NV,

+ 6 - 6
include/igl/removeUnreferenced.h → include/igl/remove_unreferenced.h

@@ -6,19 +6,19 @@
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
 //
-//  removeUnreferenced.h
+//  remove_unreferenced.h
 //  Preview3D
 //
 //  Created by Daniele Panozzo on 17/11/11.
 
-#ifndef IGL_REMOVEUNREFERENCED_H
-#define IGL_REMOVEUNREFERENCED_H
+#ifndef IGL_REMOVE_UNREFERENCED_H
+#define IGL_REMOVE_UNREFERENCED_H
 #include "igl_inline.h"
 
 #include <Eigen/Core>
 namespace igl 
 {
-  // [ NV, NF ] = removeUnreferenced( V,F)
+  // [ NV, NF ] = remove_unreferenced( V,F)
   // Remove unreferenced vertices from V, updating F accordingly
   //
   // Input:
@@ -28,7 +28,7 @@ namespace igl
   // NV, NF: new mesh without unreferenced vertices
   //
   template <typename Scalar, typename Index>
-  IGL_INLINE void removeUnreferenced(
+  IGL_INLINE void remove_unreferenced(
     const Eigen::PlainObjectBase<Scalar> &V,
     const Eigen::PlainObjectBase<Index> &F,
     Eigen::PlainObjectBase<Scalar> &NV,
@@ -37,7 +37,7 @@ namespace igl
 }
 
 #ifndef IGL_STATIC_LIBRARY
-#  include "removeUnreferenced.cpp"
+#  include "remove_unreferenced.cpp"
 #endif
 
 #endif