rendlib/include/rendlib.h

23 lines
501 B
C
Raw Normal View History

#ifndef RENDLIB_H
#define RENDLIB_H
2024-10-08 15:27:09 +00:00
#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 object *objects;
int rendlib_start_window(int argc, char *argv[]);
int rendlib_render(void);
#endif