fixed loading .phy files for physics information - back to working demo where i was before restructuring WFObj; need to add TextureCache support and support for placing non-physics models

git-svn-id: svn://anubis/anaglym/trunk@94 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-10-17 22:12:34 +00:00
parent 387141b506
commit e537e89568
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ int Engine::loadModel(const string & name, bool static_data, float scale)
if (pos == string::npos) if (pos == string::npos)
{ {
FileLoader::Path model_path("", name + ".obj"); FileLoader::Path model_path("", name + ".obj");
string phys_path = locateResource(name + ".obj"); string phys_path = locateResource(name + ".phy");
WFObj * obj = new WFObj(*m_fileLoader /* TODO: texture loaders */); WFObj * obj = new WFObj(*m_fileLoader /* TODO: texture loaders */);

View File

@ -47,7 +47,7 @@ int main(int argc, char * argv[])
} }
Video video; Video video;
#if 0 #if 1
/* start in windowed mode for debugging */ /* start in windowed mode for debugging */
video.start(0, 0, false, false); video.start(0, 0, false, false);
#else #else