restructure work
This commit is contained in:
parent
64c8492e5c
commit
e01595e155
3424 changed files with 492 additions and 1696851 deletions
21
engine/Backend/Backend.h
Normal file
21
engine/Backend/Backend.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <glad/glad.h>
|
||||
#include <glfw/include/GLFW/glfw3.h>
|
||||
|
||||
namespace engine::Backend
|
||||
{
|
||||
void window_resize_callback(GLFWwindow* window, int width, int height);
|
||||
void mouse_callback(GLFWwindow* window, double xpos, double ypos);
|
||||
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
|
||||
void processInput(GLFWwindow *window);
|
||||
bool isWindowOpen();
|
||||
|
||||
void PreFrame();
|
||||
void PostFrame();
|
||||
|
||||
bool Init(const char* title, int width, int height);
|
||||
void Cleanup();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue