+Viewer::Options::Options(int argc, char **argv)
+{
+ GetOpt getopt;
+ getopt.add_option('r', "resources", resource_locations, GetOpt::REQUIRED_ARG);
+ getopt.add_option('a', "animation", animation_name, GetOpt::REQUIRED_ARG);
+ getopt.add_argument("renderable", renderable_name);
+ getopt(argc, argv);
+
+ wnd_opts.width = 1024;
+ wnd_opts.height = 768;
+ gl_opts.gl_version_major = Graphics::GLOptions::LATEST_VERSION;
+ gl_opts.core_profile = true;
+}
+