update flake.nix

This commit is contained in:
2025-03-16 20:04:46 -05:00
parent cec2adec97
commit 659a2690f1
8 changed files with 98 additions and 16073 deletions

View File

@@ -1,7 +1,19 @@
#include "Archimedes.h"
#include "windowGLFW.h"
Window::Window() {
if(!glfwInit())
if(!glfwInit()) {
std::cout << "glfwInit failed!\n";
std::abort();
}
w = glfwCreateWindow(640, 480, "Archimedes", NULL, NULL);
}
bool Window::close() {
return glfwShouldClose(w);
}
Window::~Window() {
}