goat3d
diff goatview/src/main.cc @ 76:9785847d52d4
bounding boxes calculation (untested) and automatic camera placement in goatview
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 08 May 2014 13:43:45 +0300 |
parents | 76dea247f75c |
children | 70b7c41a4f17 |
line diff
1.1 --- a/goatview/src/main.cc Thu May 08 00:50:16 2014 +0300 1.2 +++ b/goatview/src/main.cc Thu May 08 13:43:45 2014 +0300 1.3 @@ -25,7 +25,7 @@ 1.4 } 1.5 std::string fname = args.at(0).toStdString(); 1.6 printf("loading scene file: %s ...\n", fname.c_str()); 1.7 - if(!(scene = goat3d_create()) || goat3d_load(scene, fname.c_str())) { 1.8 + if(!load_scene(fname.c_str())) { 1.9 fprintf(stderr, "failed to load scene: %s\n", fname.c_str()); 1.10 return 1; 1.11 }