Explorar el Código

note about inappropriate name

Former-commit-id: cc8e2a48ea6213be89494f1d6b1dd6b3ab444396
Alec Jacobson hace 9 años
padre
commit
5c56d9b734
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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,