#ifndef RENDLIB_H #define RENDLIB_H #define RENDLIB_INPUT_ESC 0b00000001 #define RENDLIB_INPUT_REL 0b00000010 #define RENDLIB_INPUT_LEFT 0b00000100 #define RENDLIB_INPUT_RIGHT 0b00001000 #define RENDLIB_INPUT_BACKW 0b00010000 #define RENDLIB_INPUT_FORW 0b00100000 enum errs { err_glfw_init = -1, err_glfw_win = -2, err_glew_init = -3, err_shaders_init = -4, }; extern struct camera *active_camera; extern struct object *objects; int rendlib_start_window(int argc, char *argv[]); int rendlib_render(void); #endif