udemy_opengl/src/window.h
2025-07-03 22:11:17 -06:00

19 lines
339 B
C

#pragma once
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <stdio.h>
#include <string.h>
#include "math.h"
struct Window {
u32 width = 800, height = 600;
s32 buffer_width, buffer_height;
GLFWwindow *gl_window = nullptr;
};
bool setup_window(Window *window);