summaryrefslogtreecommitdiff
path: root/include/honey.h
blob: 251881e1a65bc50e3bf186abbeb5d9a7b6df2ba1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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