Kevin Jerebica
a176afab7e
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.
16 lines
266 B
C
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
|