sim_cinematique_inverse/labo_ik/main.cpp

42 lines
718 B
C++
Raw Normal View History

2024-04-01 17:18:18 -04:00
/**
* @file main.cpp
*
* @brief GTI320 Labo 2 - creates a NanoGUI application.
*
* Nom:
* Code permanent :
* Email :
*
*/
#include "IKApplication.h"
#if defined(__GNUC__)
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#if defined(_WIN32)
# pragma warning(push)
# pragma warning(disable: 4457 4456 4005 4312)
#endif
#if defined(_WIN32)
# pragma warning(pop)
#endif
#if defined(_WIN32)
# if defined(APIENTRY)
# undef APIENTRY
# endif
# include <windows.h>
#endif
int main(int argc, char** argv)
{
nanogui::init();
nanogui::ref<IKApplication> app = new IKApplication();
app->draw_all();
app->set_visible(true);
nanogui::mainloop();
nanogui::shutdown();
return 0;
}