https://github.com/lsw9021/DexterousManipulation
Tip revision: 11269e20e5283c3f31b6ce1ea9a4805c8bdeecac authored by Lee Seung Hwan on 07 October 2021, 05:40:43 UTC
Create LICENSE
Create LICENSE
Tip revision: 11269e2
main.cpp
#include "SimWindow.h"
#include <vector>
#include <string>
#include <GL/glut.h>
int main(int argc,char** argv)
{
std::string record_path;
if(argc==2)
record_path = argv[1];
else
record_path = "../output/";
if(record_path.back()!='/')
record_path.append("/");
SimWindow simwindow(record_path);
std::cout<<"- : mDisplayRatio*=0.9"<<std::endl;
std::cout<<"+ : mDisplayRatio*=1.1"<<std::endl;
std::cout<<"q : mRenderDetail =!mRenderDetail"<<std::endl;
std::cout<<" : mIsPlay =!mIsPlay"<<std::endl;
std::cout<<"r : mFrame = 0"<<std::endl;
std::cout<<"[ : mFrame--"<<std::endl;
std::cout<<"] : mFrame++"<<std::endl;
glutInit(&argc, argv);
simwindow.InitWindow(1280,960,"Render");
glutMainLoop();
}