readObj.h 314 B

123456789101112131415
  1. #ifndef READOBJ_H_
  2. #define READOBJ_H_
  3. #include <vector>
  4. #include <string>
  5. #include <boost/tuple/tuple.hpp>
  6. // Function to read a very limited subset of obj files. Only reads
  7. // files with triangles. Supports v, vn, t and f.
  8. void readObj(const std::string &fname,
  9. std::vector<float> &data);
  10. #endif