//-------------------------------------------------------------- void testApp::setup() { ofSetFrameRate(60); ofSetVerticalSync(true); ofBackground(0); ramInitialize(10000); ragdollScene.setup(); ofEasyCam *cam = (ofEasyCam *)&ramCameraManager::instance().getActiveCamera(); cam->setDistance(500); for (int i=0; i<COUNT; i++) m_pickConstraint[i] = NULL; keyPressed(' '); }
//-------------------------------------------------------------- void testApp::setup() { ofSetFrameRate(60); ofSetVerticalSync(true); ofBackground(0); ramInitialize(10000); // gui setup ofxControlPanel::setTextColor(simpleColor(255,255,255,255)); ofxControlPanel::setBackgroundColor(simpleColor(0,0,0,127)); ragdollScene.setup(); ofEasyCam *cam = (ofEasyCam *)&ramCameraManager::instance().getActiveCamera(); cam->setDistance(500); for (int i=0; i<COUNT; i++) m_pickConstraint[i] = NULL; keyPressed(' '); }