kick
|
00001 // 00002 // ObjLoader.h 00003 // KickObjLoader 00004 // 00005 // Created by morten on 8/31/13. 00006 // Copyright (c) 2013 morten. All rights reserved. 00007 // 00008 00009 #pragma once 00010 00011 #include <iostream> 00012 #include <functional> 00013 #include "obj_data.h" 00014 00015 #include <string> 00016 00017 namespace kick { 00018 ObjData loadObjData(std::string objSource, std::function<std::string (std::string)> materialMap); 00019 ObjData loadObjData(std::string path, std::string filename); 00020 00021 std::string fixPathEnd(std::string &path); 00022 }