From 040ba6826237eb124aaa4576fc302e2e07dd40c5 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 20 May 2020 20:51:05 -0500 Subject: add honey_mesh and assorted related functions --- include/honey.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/honey.h (limited to 'include/honey.h') diff --git a/include/honey.h b/include/honey.h new file mode 100644 index 0000000..251881e --- /dev/null +++ b/include/honey.h @@ -0,0 +1,17 @@ +#ifndef HONEY_ENGINE_H +#define HONEY_ENGINE_H + +#include "common.h" +#include "mesh.h" +#include "shader.h" + +typedef GLFWwindow* honey_window; + +honey_window honey_setup(int screen_width, int screen_height, char* window_title); + +#define honey_set_resize_callback glfwSetFramebufferSizeCallback +#define honey_set_mouse_move_callback glfwSetCursorPosCallback + +#define honey_quit glfwTerminate + +#endif -- cgit v1.2.1