void Renderer::ImportObjFileCallback(string param) { Object3D* obj = new Object3D(param); obj->glTranslate(ofGetWindowWidth()*0.5, ofGetWindowHeight()*0.5, 0); this->sceneStructure->AddElement(obj); }
void Renderer::TestCreateIcosahedron() { Object3D* obj = new Object3D("models/icosahedron/icosahedron.obj"); obj->glTranslate(ofGetWindowWidth()*0.5, ofGetWindowHeight()*0.5, 0); this->sceneStructure->AddElement(obj); }