18 lines
434 B
C++
18 lines
434 B
C++
#include "GLLoad.hpp"
|
|
// #define _NB_AUTOLOG
|
|
#include "VertexArray.hpp"
|
|
#include "Window.hpp"
|
|
|
|
|
|
int main() {
|
|
nb::logger.log("Howdy!");
|
|
nb::Window window(200, 200, "Hello!");
|
|
window.setWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
|
window.setWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
|
window.init();
|
|
|
|
GLFWwindow* window_ptr = window.getWindow();
|
|
while(!glfwWindowShouldClose(window_ptr)) {}
|
|
|
|
return 0;
|
|
} |