GUI를 만들고, UI에 맞춰 상태 머신을 만들다가 느낀것이..우선 메쉬를 따로 분리해야 할 것 같았다.그래야 지금 내가 조작중인 메쉬에 접근해서 뭘 할수 있으니깐..지금은 vbo, vao, ebo 모두 대충 메인에 박혀있다. 그래서 분리하고자 mesh, model 클래스를 만들었다.class Mesh{ public: Mesh(std::vector vert, std::vector idx, std::vector tex, const GLchar* vertexPath, const GLchar* fragPath ); std::vector vertices; std::vector indice; st..