On Github antoneri / slides
Anton Eriksson (tfy12aen@cs.umu.se)
Department of Computing Science Umeå University
Written in C++
GLFW for GL context
GLM for vectors/matrices
GTK for GUI. (Thought about using gtkmm.)
(Almost) no global variables! (Save for GTK objects.)
A WindowManager class effectively acts as a singleton through glfwSetWindowUserPointer. (Worse?)
3d-studio git/master
❯ wc -l *.{cpp,c,h}
114 main.cpp
[...]
2351 total
while (!window->shouldClose()) {
buffer->clear();
updateUniforms();
buffer->draw();
window->swapBuffers();
gtk_main_iteration_do(0);
}