nuclear@0: #include "scene.h" nuclear@0: #include "opengl.h" nuclear@12: #include "goat3d.h" nuclear@0: nuclear@0: Scene::~Scene() nuclear@0: { nuclear@0: destroy(); nuclear@0: } nuclear@0: nuclear@0: void Scene::destroy() nuclear@0: { nuclear@0: for(size_t i=0; idraw(msec); nuclear@0: } nuclear@0: nuclear@0: if(objects.empty()) { nuclear@0: printf("rendering meshes directly\n"); nuclear@0: for(size_t i=0; idraw(); nuclear@0: } nuclear@0: } nuclear@0: }