Kaynağa Gözat

note about inappropriate name

Former-commit-id: cc8e2a48ea6213be89494f1d6b1dd6b3ab444396
Alec Jacobson 9 yıl önce
ebeveyn
işleme
5c56d9b734
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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,