Exemple #1
0
void Renderer::ImportObjFileCallback(string param)
{
	Object3D* obj = new Object3D(param);
	obj->glTranslate(ofGetWindowWidth()*0.5, ofGetWindowHeight()*0.5, 0);

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