rendlib/include/rendlib.h
Kevin Jerebica a176afab7e init: kick-off repository from gravity's SC
source code was taken from my project gravity and
modified so I can reuse the renderer in other projects.
I will also upgrade it, free it from old bugs, put more
effort into learning the math behind rendering, etc.
2024-10-08 00:15:42 +02:00

16 lines
266 B
C

#ifndef RENDLIB_H
#define RENDLIB_H
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