#include "renderer_polygon_3d.hpp" #include #include "polygon_model.hpp" namespace endofthejedi { void RendererPolygon3d::setup() { std::cout<<"setup 3d" << std::endl; m_atomicBomb = new PolygonModel("../data/mesh/small_atomic_bomb.stl"); m_atomicBomb->loadIntoOpenGl(); m_models.push_back(m_atomicBomb); } void RendererPolygon3d::render(const game::State *state) { (void) state; m_atomicBomb->bind(); m_atomicBomb->render(); //std::cout<<"render 3d" << std::endl; } }