Changeset 9831 in orxonox.OLD for branches/new_class_id/src/lib/graphics/importer/objModel.h
- Timestamp:
- Sep 26, 2006, 3:18:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/importer/objModel.h
r9715 r9831 13 13 { 14 14 ObjectListDeclaration(OBJModel); 15 16 15 public: 16 OBJModel(const std::string& fileName, float scaling = 1.0); 17 17 virtual ~OBJModel(); 18 18 19 19 private: 20 20 ///// readin ///// 21 22 23 21 bool importFile (const std::string& fileName); 22 bool readFromObjFile (const std::string& fileName); 23 bool readMtlLib (const std::string& matFile); 24 24 25 26 27 28 29 30 31 25 private: 26 void setIllum (Material* material, const char* illum); 27 void setDiffuse (Material* material, const char* rgb); 28 void setAmbient (Material* material, const char* rgb); 29 void setSpecular (Material* material, const char* rgb); 30 void setShininess (Material* material, const char* shini); 31 void setTransparency (Material* material, const char* trans); 32 32 33 34 33 private: 34 std::string objPath; //!< The Path where the obj and mtl-file are located. 35 35 }; 36 36
Note: See TracChangeset
for help on using the changeset viewer.