Permalink
Browse files

Modified example.cpp to use the default camera instead of providing o…

…ne explicitly.
  • Loading branch information...
1 parent 1c31a3c commit 08eda6fbf016573be3b1d23c5f1a8006c1f69c05 @vilya committed Aug 19, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 example/example.cpp
View
@@ -112,12 +112,8 @@ int main(int argc, char** argv)
vgl::loadModel(builder, argv[1]);
ExampleRenderer renderer(mesh);
- vgl::BaseCamera camera(
- vgl::Vec3f(0, 0, 5), vgl::Vec3f(0, 0, 0), vgl::Vec3f(0, 1, 0),
- -1, 1, -1, 1, 30, 800, 600);
-
- vgl::Viewer viewer("Example Viewer", 800, 600, &renderer, &camera);
+ vgl::Viewer viewer("Example Viewer", 800, 600, &renderer);
viewer.run();
}

0 comments on commit 08eda6f

Please sign in to comment.