Procházet zdrojové kódy

note about inappropriate name

Former-commit-id: cc8e2a48ea6213be89494f1d6b1dd6b3ab444396
Alec Jacobson před 9 roky
rodič
revize
5c56d9b734
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      include/igl/png/texture_from_png.h

+ 3 - 0
include/igl/png/texture_from_png.h

@@ -40,6 +40,9 @@ namespace igl
     // Output:
     //  R,G,B,A texture channels
     // Returns true on success, false on failure
+    //
+    // Todo: this is an inappropriate function name. This is really just
+    // reading a png.... Not necessarily as a texture.
     IGL_INLINE bool texture_from_png(const std::string png_file,
     Eigen::Matrix<char,Eigen::Dynamic,Eigen::Dynamic>& R,
     Eigen::Matrix<char,Eigen::Dynamic,Eigen::Dynamic>& G,