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:
parent
387141b506
commit
e537e89568
@ -229,7 +229,7 @@ int Engine::loadModel(const string & name, bool static_data, float scale)
|
||||
if (pos == string::npos)
|
||||
{
|
||||
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 */);
|
||||
|
||||
|
@ -47,7 +47,7 @@ int main(int argc, char * argv[])
|
||||
}
|
||||
|
||||
Video video;
|
||||
#if 0
|
||||
#if 1
|
||||
/* start in windowed mode for debugging */
|
||||
video.start(0, 0, false, false);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user